Flutter / Dart basic
페이지 정보
작성자 sbLAB 댓글 0건 조회 2,948회 작성일 23-01-15 16:34본문
EdgeInsets class - https://api.flutter.dev/flutter/painting/EdgeInsets-class.html
const EdgeInsets.all(8.0) //margin on all sides
const EdgeInsets.symmetric(vertical: 8.0) //pixel margin above and below, no horizontal margins
const EdgeInsets.only(left: 40.0) //Left margin indent of 40 pixels
https://dart.dev/guides/language/effective-dart/documentation
{} : Map ------- [] : List
Map<K, V> constructor
https://api.flutter.dev/flutter/dart-core/Map/Map.html
List<E> constructor
https://api.flutter.dev/flutter/dart-core/List/List.html
[lambda]
/// Check if dark mode theme is enable
bool get isDarkMode => (theme.brightness == Brightness.dark);
[get/set/lambda]
Dart 2.17 주요 변화
https://jja08111.github.io/dart/dart-2-17/
What is initState and super.initState In Flutter?
https://flutteragency.com/what-is-initstate-and-super-initstate-in-flutter/
The Stateful Widget Lifecycle
https://betterprogramming.pub/stateful-widget-lifecycle-a01c44dc89b0
Dart Enum
https://www.darttutorial.org/dart-tutorial/dart-enum/
- 이전글[Dart] List<Map<String, dynamic>> ==> List<MyBookModel> 23.01.16
- 다음글[Getx] 컨트롤러/데이타 바인딩(DI) 23.01.15
댓글목록
등록된 댓글이 없습니다.