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 characters
| showDialog( | |
| context: context, | |
| builder: (context) { | |
| Column( | |
| children: <Widget>[ | |
| AlertDialog( | |
| title: Text("タイトル"), | |
| // コンテンツ領域 | |
| content: SingleChildScrollView( | |
| child: ListBody( |
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 characters
| RaisedButton( | |
| onPressed: () { | |
| showDialog( | |
| context: context, | |
| builder: (context) { | |
| return SimpleDialog( | |
| children: <Widget>[ | |
| // コンテンツ領域 | |
| Padding( | |
| padding: const EdgeInsets.all(16.0), |
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 characters
| import 'package:flutter/material.dart'; | |
| class OverlayDialogPage extends ModalRoute<void> { | |
| @override | |
| Duration get transitionDuration => Duration(milliseconds: 100); | |
| @override | |
| bool get opaque => false; | |
| @override |
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 characters
| RaisedButton( | |
| onPressed: () { | |
| showDialog( | |
| context: context, | |
| builder: (context) { | |
| return SimpleDialog( | |
| title: Text("タイトル"), | |
| children: <Widget>[ | |
| SimpleDialogOption( | |
| onPressed: () => Navigator.pop(context), |
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 characters
| RaisedButton( | |
| onPressed: () { | |
| showDialog( | |
| context: context, | |
| builder: (context) { | |
| return AlertDialog( | |
| title: Text("タイトル"), | |
| content: Text("メッセージメッセージメッセージメッセージメッセージメッセージ"), | |
| actions: <Widget>[ | |
| FlatButton( |