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 @@ -209,17 +209,31 @@ class _BackdropState extends State<Backdrop>
209
209
var appBar = AppBar (
210
210
brightness: Brightness .light,
211
211
elevation: 0.0 ,
212
- leading: IconButton (
213
- onPressed: _toggleBackdropPanelVisibility,
214
- icon: AnimatedIcon (
215
- icon: AnimatedIcons .close_menu,
216
- progress: _controller.view,
217
- ),
218
- ),
212
+ titleSpacing: 0.0 ,
219
213
title: _BackdropTitle (
220
214
listenable: _controller.view,
221
- frontTitle: widget.frontTitle,
222
- backTitle: widget.backTitle,
215
+ frontTitle: Row (
216
+ children: < Widget > [
217
+ SizedBox (
218
+ width: 72.0 ,
219
+ child: IconButton (
220
+ padding: EdgeInsets .only (left: 20.0 ),
221
+ onPressed: _toggleBackdropPanelVisibility,
222
+ icon: Row (
223
+ children: < Widget > [
224
+ ImageIcon (AssetImage ('assets/slanted_menu.png' )),
225
+ ImageIcon (AssetImage ('assets/diamond.png' )),
226
+ ],
227
+ ),
228
+ ),
229
+ ),
230
+ widget.frontTitle,
231
+ ],
232
+ ),
233
+ backTitle: IconButton (
234
+ onPressed: _toggleBackdropPanelVisibility,
235
+ icon: Icon (Icons .close),
236
+ ),
223
237
),
224
238
actions: < Widget > [
225
239
new IconButton (
@@ -250,3 +264,4 @@ class _BackdropState extends State<Backdrop>
250
264
);
251
265
}
252
266
}
267
+
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