Share
Sign In
공부 내용
Flutter 위젯 - 달력, 시간, 선택 등 (Card)
Y
yeji Kim
👍
참고 자료
Card
Card( // 카드 위젯 child: Column( mainAxisSize: MainAxisSize.min, children: const <Widget>[ ListTile( leading: Icon(Icons.album), title: Text('카드가 있는 데이터입니다.'), subtitle: Text('카드가 있기 때문에 같은 영역의 데이터 확인이 보다 쉽습니다.'), ), ButtonBar( children: <Widget>[ TextButton( child: Text('취소'), onPressed: null, ), TextButton( child: Text('확인'), onPressed: null, ), ], ), ], ), ),
Chip
Chip( avatar: CircleAvatar( backgroundColor: Colors.grey.shade800, child: const Text('AB'), ), label: const Text('Aaron Burr'), )
CupertinoPicker
CupertinoTimerPicker
import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:village/view/widgets/test/cupertino_time_picker.dart'; void main() { runApp( const ProviderScope( child: MyApp(), ), ); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return MaterialApp( theme: ThemeData( // primaryColor: Colors.white, ), debugShowCheckedModeBanner: false, // 화면에 디버그 제거 home: const TimerPickerApp(), // 클래스 분리 // home: Scaffold( // body: Container( // child: const PlaceDetailPage(), // ), ); } }
showDatePicker function
Subscribe to '아무튼-작업일지'
Welcome to '아무튼-작업일지'!
By subscribing to my site, you'll be the first to receive notifications and emails about the latest updates, including new posts.
Join SlashPage and subscribe to '아무튼-작업일지'!
Subscribe
👍
Other posts in '공부 내용'See all
yeji Kim
flutter get/set, List.generate
참고 자료 Get, Set List.generate
yeji Kim
flutter의 shared_preferences(android), NSUserDefaults(iOS)
참고 자료 Shared_preferences 란 간단한 키-값 쌍을 로컬에 영구적으로 저장할 수 있는 방법을 제공. 주로 사용자 설정, 로그인 상태 등의 간단한 데이터 저장에 이용됨.
yeji Kim
flutter FutureBuilder
참고 자료 https://eory96study.tistory.com/21 Future 서버에서 데이터를 모두 받아오기 전에 대략적으로 잠재적인 값을 결정하고 어떤 걸 보여줄지 선택하기 위해. FutureBuilder FutureBuilder - 데이터를 다 받기 전에 데이터 없이 그릴 수 있는 부분을 먼저 그리기 위해.