일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- java
- Pointer
- file access
- atmega328
- mfc
- compare
- UNO
- stream
- sensor
- Read
- c++
- Overloading
- parameter
- Android
- APP
- preprocessing
- memory
- aduino
- flutter
- digitalRead
- public
- length
- wpf
- Class
- Barcode
- Unity
- Encapusulation
- SERIAL
- Contour
- inheritance
- Today
- Total
목록POP (2)
폴크(FOLC)

# 생성 페이지에 옵션 추가 # WillPopScope 함수 이용 > 기본 생성 방식 @override Widget build(BuildContext context) { return Scaffold(appBar: AppBar(), body: XXXFunction()); } > 옵션 생성 방식 ( 종료 확인 메시지 표시 ) @override Widget build(BuildContext context) { return WillPopScope( child: Scaffold(appBar: AppBar(), body: XXXFunction()), onWillPop: _onWillPop); } Future _onWillPop() { return showDialog(context:context, builder: (..

# 최상위 페이지를 설정하는 방법 1. 기본 페이지를 생성 @override Widget build(BuildContext context) { return Scaffold(appBar: AppBar(), body: XXXFunction()); } 2. 빈페이지를 생성한뒤 - 빈페이지를 삭제하고 다시 메인 페이지를 추가 하는 방법 @override Widget build(BuildContext context) { return Scaffold(); } Navigator.pop(context); Navigator.push(context, MaterialPageRoute(builder: (context) { return XXXAppPage(); })); 3. 빈페이지를 생성한뒤 - 빈페이지를 삭제하고 다시 메인..