Skip to content
Snippets Groups Projects
Commit d4ee25c0 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: add text and button to bottom sheet

parent 7156000c
No related branches found
No related tags found
1 merge request!14Clhp map
...@@ -171,15 +171,30 @@ class _MapContainerWidgetState extends State<MapContainerWidget> { ...@@ -171,15 +171,30 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
context: context, context: context,
builder: (BuildContext context) { builder: (BuildContext context) {
return SizedBox( return SizedBox(
height: 400, height: 200,
width: screenWidth,
child: Center( child: Center(
child: ElevatedButton( child: Column(
child: const Text('Close'), mainAxisAlignment: MainAxisAlignment.center,
onPressed: () { children: [
Navigator.pop(context); Text(
}, "Export ice data for $selectedLake",
style: const TextStyle(fontSize: 20),
),
const SizedBox(height: contPadding),
ElevatedButton(
style: ButtonStyle(
backgroundColor: MaterialStateProperty.all<Color>(Colors.white24),
),
child: const Text("Export JSON"),
onPressed: () {
Navigator.pop(context);
},
)
// Add more children here as needed
],
), ),
), ),
); );
}, },
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment