We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50e9c22 commit 7c2df0bCopy full SHA for 7c2df0b
appbar-tricks.dart
@@ -1 +1,34 @@
1
2
+//Removing extra padding around appbar leading icon(use titlespacing) -
3
+
4
+appBar: AppBar(
5
+ leading: Icon(Icons.android),
6
+ titleSpacing: 0, //Just add a property called titleSpacing,
7
+ title: Text(widget.title),
8
+ ),
9
10
+// To increse the leading width of appbar -
11
12
13
+ leading: Icon(Icons.account_circle_rounded),
14
+ leadingWidth: 100, // default is 56
15
+),
16
17
+//To increase the default height & alter opacity of appbar -
18
19
20
+ toolbarHeight: 120,
21
+ toolbarOpacity: 0.5,
22
23
24
25
+// Image in title in appbar -
26
27
+AppBar(
28
+ title: Container(
29
+ width: 40,
30
+ child: Image.network(url),
31
32
+ centerTitle: true,
33
34
0 commit comments