fix: navBars unmodifiable issues #612
This commit is contained in:
@ -1,13 +1,13 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
const defaultNavigationBars = [
|
List defaultNavigationBars = [
|
||||||
{
|
{
|
||||||
'id': 0,
|
'id': 0,
|
||||||
'icon': Icon(
|
'icon': const Icon(
|
||||||
Icons.home_outlined,
|
Icons.home_outlined,
|
||||||
size: 21,
|
size: 21,
|
||||||
),
|
),
|
||||||
'selectIcon': Icon(
|
'selectIcon': const Icon(
|
||||||
Icons.home,
|
Icons.home,
|
||||||
size: 21,
|
size: 21,
|
||||||
),
|
),
|
||||||
@ -16,11 +16,11 @@ const defaultNavigationBars = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'id': 1,
|
'id': 1,
|
||||||
'icon': Icon(
|
'icon': const Icon(
|
||||||
Icons.motion_photos_on_outlined,
|
Icons.motion_photos_on_outlined,
|
||||||
size: 21,
|
size: 21,
|
||||||
),
|
),
|
||||||
'selectIcon': Icon(
|
'selectIcon': const Icon(
|
||||||
Icons.motion_photos_on,
|
Icons.motion_photos_on,
|
||||||
size: 21,
|
size: 21,
|
||||||
),
|
),
|
||||||
@ -29,11 +29,11 @@ const defaultNavigationBars = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'id': 2,
|
'id': 2,
|
||||||
'icon': Icon(
|
'icon': const Icon(
|
||||||
Icons.video_collection_outlined,
|
Icons.video_collection_outlined,
|
||||||
size: 20,
|
size: 20,
|
||||||
),
|
),
|
||||||
'selectIcon': Icon(
|
'selectIcon': const Icon(
|
||||||
Icons.video_collection,
|
Icons.video_collection,
|
||||||
size: 21,
|
size: 21,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user