This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'Widgets/Carousel.dart'; | |
class MyHome extends StatefulWidget { | |
@override | |
_MyHomeState createState() => _MyHomeState(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void _openCountriesBottomSheet(BuildContext context) { | |
showCupertinoModalPopup( | |
context: context, | |
builder: (BuildContext context) { | |
return Container( | |
// height: (MediaQuery.of(context).size.height / 2) + 100, | |
child: CupertinoActionSheet( | |
cancelButton: CupertinoButton( | |
child: Text( | |
allTranslations.text("cancel"), |