-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only expand as much as needed to reveal the back layer #35
Comments
This is implemented by the property BackdropScaffold(
appBar: BackdropAppBar(
title: Text("Backdrop Example"),
actions: <Widget>[
BackdropToggleButton(
icon: AnimatedIcons.list_view,
)
],
),
backLayer: Container(
height: 200.0,
child: Center(child: Text("Back Layer")),
),
frontLayer: Center(
child: Text("Front Layer"),
),
stickyFrontLayer: true,
) |
@heath3n This only works if the height of the back layer widget is bounded. If you are using |
@daadu using a ListView and shrinkWrap did not work for me. What else can I do? |
@PembaTamang Please provide us with minimum code that can reproduce the issue. We will look into it. |
use this as Your Backlayer |
I could not reproduce the problem. For me it works fine using your BackLayer and Lines 72 to 87 in b547c82
Which flutter channel are you using and do you use the newest version of it? |
@amanv8060 Just to confirm, did you set |
this was causing issue . Close this , if the issue author has no problem |
i want to show some part of the backlayer while opening frontlayer is this possible? |
Currently the back layer expands fully; it should only expand as much as needed to fully show its contents.
The text was updated successfully, but these errors were encountered: