File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ class _HomePageState extends State<HomePage> {
140
140
}
141
141
var toolbar = QuillToolbar .basic (
142
142
controller: _controller! , onImagePickCallback: _onImagePickCallback);
143
- const isDesktop = ! kIsWeb && ! Platform .isAndroid && ! Platform .isIOS;
143
+ final isDesktop = ! kIsWeb && ! Platform .isAndroid && ! Platform .isIOS;
144
144
if (isDesktop) {
145
145
toolbar = QuillToolbar .basic (
146
146
controller: _controller! ,
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class _DemoScaffoldState extends State<DemoScaffold> {
81
81
Widget build (BuildContext context) {
82
82
final actions = widget.actions ?? < Widget > [];
83
83
var toolbar = QuillToolbar .basic (controller: _controller! );
84
- const isDesktop = ! kIsWeb && ! Platform .isAndroid && ! Platform .isIOS;
84
+ final isDesktop = ! kIsWeb && ! Platform .isAndroid && ! Platform .isIOS;
85
85
if (isDesktop) {
86
86
toolbar = QuillToolbar .basic (
87
87
controller: _controller! ,
@@ -102,7 +102,7 @@ class _DemoScaffoldState extends State<DemoScaffold> {
102
102
),
103
103
onPressed: () => Navigator .pop (context),
104
104
),
105
- title: _loading || widget.showToolbar == false ? null : toolbar,
105
+ title: _loading || ! widget.showToolbar? null : toolbar,
106
106
actions: actions,
107
107
),
108
108
floatingActionButton: widget.floatingActionButton,
You can’t perform that action at this time.
0 commit comments