일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- List
- textstyle
- 함수
- 코틀린
- Class
- import
- map
- 파이썬
- package
- text
- 콜렉션
- 플러터
- Collection
- DART
- 크롤러
- 다트
- Android
- python
- function
- crawler
- Yocto
- 웹크롤러
- 클래스
- kotlin
- Flutter
- animation
- set
- ML
- variable
- pushnamed
- Today
- Total
목록Flutter (43)
조용한 담장
Draggable 위젯을 드래그 하여 움직일 수 있게 해보자. Draggable class Draggable({Key key, @required Widget child, @required Widget feedback, T data, Axis axis, Widget childWhenDragging, Offset feedbackOffset: Offset.zero, DragAnchor dragAnchor: DragAnchor.child, Axis affinity, int maxSimultaneousDrags, VoidCallback onDragStarted, DraggableCanceledCallback onDraggableCanceled, DragEndCallback onDragEnd, VoidCallbac..
SelectableText flutter Text 위젯은 화면에 글자를 그리지만 사용자가 텍스트를 복사는 할 수 없다. TextField 위젯 처럼 텍스트를 복사할 수 있는 위젯을 보자. SelectableText SelectableText(String text, { Key key, InputlessFocusNode focusNode, TextStyle style, TextAlign textAlign: TextAlign.start, TextDirection textDirection, Radius cursorRadius, Color cursorColor, DragStartBehavior dragStartBehavior: DragStartBehavior.down, bool enableInteractiveSe..
Flutter : Navigator 앱 화면 간 이동을 구현할 때 사용한다. 또는 특정 위젯 간의 이동이 될 수도 있다. navigator 를 이용한 예제를 만들어 보자. 예제코드 기본 코드 구조는 아래와 같다. 앱의 각각 다른 화면을 page로 구분하여 각각을 위젯으로 구성해 볼 것이다. App's home page Homepage 에서 page1, page2, page3, page4 로 이동할 수 있는 버튼을 가진 화면을 구현해보자. Navigator Navigator({Key key, String initialRoute, @required RouteFactory onGenerateRoute, RouteFactory onUnknownRoute, List observers: const [] }) A w..
Flutter : Text Widgets Flutter 의 텍스트와 관련된 위젯들을 살펴보고 테스트 해보자. 텍스트를 그리는 Text 와 RichText 가 있고, 그래픽적 효과를 적용할 수 있는 TextStyle, 글자, 문장을 모아 문단을 구성할 수 있게 해주는 TextSpan 이 있다. TextStyle class TextStyle({bool inherit: true, Color color, Color backgroundColor, double fontSize, FontWeight fontWeight, FontStyle fontStyle, ... }) An immutable style in which paint text 화면에 그려지는 텍스트에 다양한 효과를 적용하기 위한 속성들을 지정하는 데에 사..