Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Column Widget
- Networking
- Cached Image
- FutureBuilder
- ListTile
- Row Widget
- Flutter 강좌
- WillPopScope
- node.js
- Row
- 반석천
- Hello World
- ListView.builder
- AppBar
- HTTP
- navigator
- listview
- MainAxisAlignment
- Scaffold
- Image.network
- CrossAxisAlignment
- InkWell
- Flutter Tutorial
- Flutter 앱 배포
- sqlite
- Flutter Example
- Load Image
- flutter
- Snackbar
- Flutter 예제
Archives
- Today
- Total
목록Handel back button (1)
꿈꾸는 시스템 디자이너
Flutter Example - WillPopScope | Handel back button pressed
import 'package:flutter/material.dart'; class WillPopScopeDemo extends StatelessWidget { DateTime currentBackPressTime; final scaffoldKey = GlobalKey(); @override Widget build(BuildContext context) { return WillPopScope( onWillPop: () async { bool result = onPressBackButton(); return await Future.value(result); }, child: Scaffold( key: scaffoldKey, appBar: AppBar(title: Text("WillPopScope Demo")..
Tutorial/Flutter with App
2019. 9. 27. 10:13