Skip to content

Pressing Back button cause visible frontLayer #132

@pishguy

Description

@pishguy

I'm not sure why this issue happened but when frontLayer isn't visible when i pressing on android back button that cause visible frontLayer

my tested code:

class SplashScreenWidget extends StatefulWidget {
  /// Default constructor for [SplashScreenWidget].
  const SplashScreenWidget({Key? key}) : super(key: key);

  @override
  _SplashScreenWidgetState createState() => _SplashScreenWidgetState();
}

class _SplashScreenWidgetState extends State<SplashScreenWidget> {
  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Backdrop Demo',
        home: BackdropScaffold(
          appBar: BackdropAppBar(
            actions: const <Widget>[
              BackdropToggleButton(
                icon: AnimatedIcons.list_view,
              )
            ],
          ),
          backLayer: Center(
            child: Text("Back Layer"),
          ),
          frontLayer: Center(
            child: Text("Front Layer"),
          ),
        ),
      );
}
Tf5D05_r.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions