-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
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
Labels
No labels