File tree Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Expand file tree Collapse file tree 1 file changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -184,12 +184,13 @@ class _ExampleMapState extends State<ExampleMap> {
184
184
: NavigationDrawer (children: _buildTiles (context)),
185
185
body: Row (
186
186
children: [
187
- SizedBox (
188
- width: 250 ,
189
- child: ListView (
190
- children: _buildTiles (context),
187
+ if (isLargeScreen)
188
+ SizedBox (
189
+ width: 250 ,
190
+ child: ListView (
191
+ children: _buildTiles (context),
192
+ ),
191
193
),
192
- ),
193
194
Expanded (
194
195
child: Stack (
195
196
children: [
@@ -426,18 +427,20 @@ class _ExampleMapState extends State<ExampleMap> {
426
427
_navigateTo (context, VectorLayerExamplePage ());
427
428
},
428
429
),
429
- _buildTile (
430
- title: "Export Image Example" ,
431
- onTap: () {
432
- _navigateTo (context, ExportImageExamplePage ());
433
- },
434
- ),
435
- _buildTile (
436
- title: "Location Indicator Example" ,
437
- onTap: () {
438
- _navigateTo (context, LocationIndicatorExamplePage ());
439
- },
440
- ),
430
+ if (! kIsWeb)
431
+ _buildTile (
432
+ title: "Export Image Example" ,
433
+ onTap: () {
434
+ _navigateTo (context, ExportImageExamplePage ());
435
+ },
436
+ ),
437
+ if (! kIsWeb)
438
+ _buildTile (
439
+ title: "Location Indicator Example" ,
440
+ onTap: () {
441
+ _navigateTo (context, LocationIndicatorExamplePage ());
442
+ },
443
+ ),
441
444
_buildTile (
442
445
title: "Basemap Style Example" ,
443
446
onTap: () {
You can’t perform that action at this time.
0 commit comments