일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Flutter Example
- CrossAxisAlignment
- Load Image
- listview
- navigator
- Cached Image
- Flutter 앱 배포
- HTTP
- Networking
- node.js
- AppBar
- Image.network
- Flutter Tutorial
- Column Widget
- Flutter 예제
- flutter
- Snackbar
- MainAxisAlignment
- sqlite
- FutureBuilder
- ListView.builder
- InkWell
- Scaffold
- WillPopScope
- ListTile
- Flutter 강좌
- Row Widget
- Hello World
- 반석천
- Row
- Today
- Total
목록AlertDialog (2)
꿈꾸는 시스템 디자이너

import 'package:flutter/material.dart'; class AlertDialogDemo extends StatelessWidget { // Global Key of Scaffold final scaffoldKey = GlobalKey(); @override Widget build(BuildContext context) { return Scaffold( key: scaffoldKey, appBar: AppBar(title: Text("AlertDialog Demo")), body: Center( child: RaisedButton( child: Text("Show AlertDialog"), onPressed: () { showAlertDialog(context); }, )), ); ..

Flutter 강좌 목록 : https://here4you.tistory.com/120 지난 강좌에서는 텍스트필드의 값의 변화를 감지하고 핸들링하는 방법에 대해 알아봤다. 이번 강좌에서는 텍스트필드에 입력된 값을 얻어 그 값을 다이얼로그로 출력하는 방법에 대해 알아본다. 소스코드는 다음과 같다. import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp(title: '..