File tree 5 files changed +25
-9
lines changed
5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -207,17 +207,31 @@ class _BackdropState extends State<Backdrop>
207
207
var appBar = AppBar (
208
208
brightness: Brightness .light,
209
209
elevation: 0.0 ,
210
- leading: IconButton (
211
- onPressed: _toggleBackdropPanelVisibility,
212
- icon: AnimatedIcon (
213
- icon: AnimatedIcons .close_menu,
214
- progress: _controller.view,
215
- ),
216
- ),
210
+ titleSpacing: 0.0 ,
217
211
title: _BackdropTitle (
218
212
listenable: _controller.view,
219
- frontTitle: widget.frontTitle,
220
- backTitle: widget.backTitle,
213
+ frontTitle: Row (
214
+ children: < Widget > [
215
+ SizedBox (
216
+ width: 72.0 ,
217
+ child: IconButton (
218
+ padding: EdgeInsets .only (left: 20.0 ),
219
+ onPressed: _toggleBackdropPanelVisibility,
220
+ icon: Row (
221
+ children: < Widget > [
222
+ ImageIcon (AssetImage ('assets/slanted_menu.png' )),
223
+ ImageIcon (AssetImage ('assets/diamond.png' )),
224
+ ],
225
+ ),
226
+ ),
227
+ ),
228
+ widget.frontTitle,
229
+ ],
230
+ ),
231
+ backTitle: IconButton (
232
+ onPressed: _toggleBackdropPanelVisibility,
233
+ icon: Icon (Icons .close),
234
+ ),
221
235
),
222
236
actions: < Widget > [
223
237
new IconButton (
@@ -248,3 +262,4 @@ class _BackdropState extends State<Backdrop>
248
262
);
249
263
}
250
264
}
265
+
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ flutter:
17
17
uses-material-design : true
18
18
assets :
19
19
- assets/diamond.png
20
+ - assets/slanted_menu.png
20
21
- packages/shrine_images/0-0.jpg
21
22
- packages/shrine_images/1-0.jpg
22
23
- packages/shrine_images/2-0.jpg
You can’t perform that action at this time.
0 commit comments