Answers for "how to make a shrinkable action bar in fluttur"

1

how to make a shrinkable action bar in fluttur

Scaffold(
	body: CustomScrollView(
    	slivers: <Widget>[
        	SliverAppBar(
            	expandedHeight : 200.0,
            	floating : false,
            	pinned : true,
            	flexibleSpace : FlexibleSpaceBar(
            	//This exactly likeyour AppBar
            		title: "foo",
                	background: "Whatever you want",
            	),
           	),
            SliverFillRemaining(
            	child: //This is exactly like the body which we have for scaffold
                Center(),
            ),
            
        ],
    ),
)
Posted by: Guest on June-05-2020

Code answers related to "how to make a shrinkable action bar in fluttur"

Browse Popular Code Answers by Language