Upgrade to Pro — share decks privately, control downloads, hide ads and more …

FlutterMeetUp.pdf

yuki-marume
November 07, 2019
130

 FlutterMeetUp.pdf

yuki-marume

November 07, 2019
Tweet

Transcript

  1. 6

  2. 17 GridView.count( padding: EdgeInsets.only(left: 36, top: 18), physics: ScrollPhysics(), crossAxisCount:

    2, shrinkWrap: true, childAspectRatio: 0.7, ΞΠςϜͷΞεϖΫτൺΛࢦఆ͓ͯ͘͠
  3. 19

  4. 23 class MyApp extends StatelessWidget { // This widget is

    the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: '& COFFEE', theme: ThemeData( primarySwatch: Colors.blue, canvasColor: Colors.transparent ) ThemeDataͷcanvasColorʹಁ໌৭Λࢦఆ͓ͯ͘͠
  5. 24

  6. 25 showGeneralDialog( context: context, barrierColor: Colors.black12.withOpacity(0.6), // background color barrierDismissible:

    false, // should dialog be dismissed when tapped outside barrierLabel: "Dialog", // label for barrier transitionDuration: Duration(milliseconds: 400), pageBuilder: (_, __, ___) { return Scaffold( backgroundColor: Colors.black12.withOpacity(0.6), body: SizedBox.expand( දࣔWidgetͷഎܠ৭Λม͑Δ͚ͩͰΑ͔ͬͨ