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
1 merge request!14Clhp map
......@@ -171,15 +171,30 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
context: context,
builder: (BuildContext context) {
return SizedBox(
height: 400,
height: 200,
width: screenWidth,
child: Center(
child: ElevatedButton(
child: const Text('Close'),
onPressed: () {
Navigator.pop(context);
},
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
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