File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 1
- //Removing extra padding around appbar leading icon(use titlespacing) -
2
-
3
- appBar: AppBar (
4
- leading: Icon (Icons .android),
5
- titleSpacing: 0 , //Just add a property called titleSpacing,
6
- title: Text (widget.title),
7
- ),
8
-
9
- // To increse the leading width of appbar -
10
-
11
- appBar: AppBar (
12
- leading: Icon (Icons .account_circle_rounded),
13
- leadingWidth: 100 , // default is 56
14
- ),
15
-
16
- //To increase the default height & alter opacity of appbar -
17
-
18
- appBar: AppBar (
19
- toolbarHeight: 120 ,
20
- toolbarOpacity: 0.5 ,
21
- leadingWidth: 100 , // default is 56
22
- ),
23
-
24
- // Image in title in appbar -
25
-
26
- AppBar (
27
- title: Container (
28
- width: 40 ,
29
- child: Image .network (url),
30
- ),
31
- centerTitle: true ,
32
- ),
33
1
You can’t perform that action at this time.
0 commit comments