implemented IconPicker for Car class
This commit is contained in:
@@ -70,6 +70,20 @@ class MyDrawer extends StatelessWidget {
|
||||
print('dbsetup');
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.tune),
|
||||
title: const Text('IconPicker'),
|
||||
onTap: () {
|
||||
showDialog(
|
||||
barrierColor: Colors.black.withOpacity(.5),
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
return IconPicker();
|
||||
});
|
||||
/* Navigator.of(context).push(
|
||||
MaterialPageRoute(builder: (context) => IconPicker())); */
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.info_outline),
|
||||
title: const Text('About'),
|
||||
|
||||
Reference in New Issue
Block a user