일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- ios
- sqflite
- 간단리뷰
- 카카오
- 내돈내산
- GetX
- 플러터
- TextField
- datetime
- xcode
- M1
- 라이언
- error
- visualstudiocode
- Flutter
- AppleSilicon
- VSCode
- swift
- iMac
- list
- react
- Git
- Mac
- wrap
- AppBar
- 춘식
- listview
- database
- GitHub
- Android
- Today
- Total
목록분류 전체보기 (60)
welcome to my blog
개발하다가 에러 났을때 해결한 방법 혹시나 다음에 또 같은 에러가 발생하면 시도해보려고 기록! "Flutter Run main.dart in ProfileMode" 로 빌드했을 때 iOS Observatory not discovered after 30 seconds. This is taking much longer than expected... 위와같은 에러가 발생하면서 어플이 설치되다가 중단되었다. ( 이상하게도 그냥 어플 눌러서 켜면 켜지긴 했음 ... (???)) Flutter와 사용했던 라이브러리들도 다 최신이었고 앱 삭제 단말 재부팅 등등 다 해봤는데도 해결되지 않았음 해결하려고 시도했던 방법: flutter 프로젝트의 ios 폴더의 xcworkspace 실행 > Singing & Capabil..
Scaffold -> bottomNavigationBar : BottomNavigationBar 추가 BottomNavigationBar -> items : BottomNavigationBarItem 추가 * 4개 이상일때만 애니메이션 적용됨 (3개로 해놓고 왜 안되나 한참 삽질함..) @override Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.blue, ), home: Scaffold( body: Center( child: _widgetOptions.elementAt(_selectedIndex), ), backgroundColor..
getX 를 이용하여 간단한 Counter App을 작성해보자 get 설치 : 사용버전 4.3.8 flutter pub add get 사용 : import 'package:get/get.dart'; Flutter의 새 프로젝트에서 기본적으로 생성된 "카운터" 프로젝트에는 100줄 이상(주석 포함)이 있습니다. Get의 힘을 보여주기 위해 클릭할 때마다 상태를 변경하는 "카운터"를 만드는 방법, 페이지 간에 전환하고 화면 간에 상태를 공유하는 방법을 모두 조직적인 방식으로 보여주고 비즈니스 논리를 보기에서 분리합니다. 주석을 포함한 26개의 라인 코드. 요약 : 카운터앱 만들기( 페이지 전환 / 상태공유 / 비즈니스 로직 분리 )를 할것이다. class Controller extends GetxContro..
플러터를 개발하다보면 이런 문구가 뜰때가 있다. 업그레이드가 필요한 시점 ! 플러터 업그레이드 커맨드 : flutter upgrade
SafeArea : 노치 제외한 영역(컨텐츠가 가려지지 않는 영역) Flutter에서 SafeArea를 사용하는 방법 : class FirstPage extends StatelessWidget { const FirstPage({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( title: "firstPage", home: Scaffold( backgroundColor: Colors.redAccent, body: SafeArea( child: Container( color: Colors.deepPurpleAccent, child: Text('safeArea'), ), ), ) ); }..
getX : (사용버전 4.3.8) GetX is an extra-light and powerful solution for Flutter. It combines high-performance state management, intelligent dependency injection, and route management quickly and practically. GetX는 Flutter를 위한 초경량의 강력한 솔루션입니다. 고성능 상태 관리, 지능형 종속성 주입 및 경로 관리를 빠르고 실질적으로 결합합니다. 상태관리, 경로관리(페이지이동)을 빠르고 쉽게 도와줌 설치 커맨드 : $ flutter pub add get 다음을 import 해서 사용 import 'package:get/get.dart'; 기..