Skip to content
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

Feature Request: SliverAppBar should have the ability to set minimum height #21298

wamry opened this issue Aug 31, 2018 · 1 comment


Copy link

commented Aug 31, 2018

Same as there is the ability to set expandedHeight, there should be a way to set the minimum, I understand the problem that it can't be less than a certain height, but you add it as a constraint I guess.


This comment has been minimized.

Copy link

commented Feb 1, 2019

I think bottom and Flexible space is enough good .

bottom: PreferredSize(child: new Text('Data'), preferredSize: Size.fromHeight(50.0)),
flexibleSpace: Container(
                padding: EdgeInsets.all(10),
                height: 340,
                width: double.infinity,
                child: Column(
                  mainAxisAlignment: MainAxisAlignment.end,
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: <Widget>[
                      height: 10,  //decreas the size
                      height: 10, //decrease the size
                    Expanded(child: Container()),
                decoration: BoxDecoration(
                    image: DecorationImage(
                        image: NetworkImage(''),
                        fit: BoxFit.cover)),

@zoechi zoechi added this to the Goals milestone Feb 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.