Flutter / Dart basic > Flutter/Dart/Node

본문 바로가기
사이트 내 전체검색

Flutter/Dart/Node

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




댓글목록

등록된 댓글이 없습니다.

회원로그인

접속자집계

오늘
278
어제
459
최대
576
전체
87,451

그누보드5
Copyright © sebom.com All rights reserved.