Finalized the bottom bar
This commit is contained in:
@@ -48,6 +48,29 @@ class FloatingToolbar extends StatelessWidget {
|
|||||||
icon: const Icon(Icons.swap_horiz),
|
icon: const Icon(Icons.swap_horiz),
|
||||||
onPressed: () {},
|
onPressed: () {},
|
||||||
),
|
),
|
||||||
|
IconButton(
|
||||||
|
tooltip: 'Analyze and detect automatically',
|
||||||
|
icon: const Icon(Icons.query_stats),
|
||||||
|
onPressed: () {},
|
||||||
|
),
|
||||||
|
MenuAnchor(
|
||||||
|
menuChildren: <Widget>[
|
||||||
|
MenuItemButton(onPressed: () {}, child: const Text('License')),
|
||||||
|
MenuItemButton(onPressed: () {}, child: const Text('About')),
|
||||||
|
],
|
||||||
|
builder: (_, MenuController controller, Widget? child) {
|
||||||
|
return IconButton(
|
||||||
|
onPressed: () {
|
||||||
|
if (controller.isOpen) {
|
||||||
|
controller.close();
|
||||||
|
} else {
|
||||||
|
controller.open();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
icon: const Icon(Icons.more_vert),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user