Last active
December 9, 2019 19:35
-
-
Save alectogeek/cf037e98384b22a1eed371a5a131a27a to your computer and use it in GitHub Desktop.
Revisions
-
alectogeek renamed this gist
Dec 9, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
alectogeek created this gist
Dec 9, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; void main() { runApp(CupertinoApp(home: DishPage())); } class DishPage extends StatefulWidget { const DishPage({Key key}) : super(key: key); @override _DishPageState createState() => _DishPageState(); } class _DishPageState extends State<DishPage> { @override Widget build(BuildContext context) { return CupertinoPageScaffold( child: Container( color: CupertinoColors.black, child: GestureDetector( onTap: () => showCupertinoModalPopup( context: context, builder: (context) => Container( height: 200, width: 200, color: CupertinoColors.white, )), ), ), ); } }