일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- UNO
- Android
- APP
- sensor
- wpf
- SERIAL
- Pointer
- compare
- atmega328
- flutter
- inheritance
- stream
- parameter
- 3D
- Unity
- c++
- aduino
- Read
- memory
- digitalRead
- Contour
- Encapusulation
- Class
- mfc
- file access
- preprocessing
- public
- length
- Barcode
- java
Archives
- Today
- Total
폴크(FOLC)
Flutter App 페이지 관련 본문
728x90
반응형
# 최상위 페이지를 설정하는 방법
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. 빈페이지를 생성한뒤 - 빈페이지를 삭제하고 다시 메인 페이지를 추가 하는 방법
@override
Widget build(BuildContext context)
{
return Scaffold();
}
Navigator.of(context).pushReplacement(
MaterialPageRoute(builder: (context) { return XXXAppPage(); }));
728x90
반응형
사업자 정보 표시
사업자 등록번호 : -- | TEL : --
'Flutter, Android > Flutter 사용법' 카테고리의 다른 글
Flutter App - Gradle 이란? (0) | 2021.07.13 |
---|---|
Flutter App 종료 확인 메시지 (0) | 2021.07.10 |
Flutter App - first work (0) | 2021.07.09 |
Flutter 샘플 프로젝트 실행 테스트 (0) | 2021.06.23 |
Android Studio - SDK Manager 설치 (0) | 2021.06.23 |