Flutter / Dart basic
페이지 정보
작성자 sbLAB 댓글 0건 조회 132회 작성일 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
Effective Dart: Documentation
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
/// Check if dark mode theme is enable
bool get isDarkMode => (theme.brightness == Brightness.dark);
00
- 이전글[Dart] List<Map<String, dynamic>> ==> List<MyBookModel> 23.01.16
- 다음글[Getx] 컨트롤러/데이타 바인딩(DI) 23.01.15
댓글목록
등록된 댓글이 없습니다.