
https://bloclibrary.dev/#/fluttertimertutorial
위 링크 따라해보면서 익숙해지는 중이다.
연습중인 github 저장소 - https://github.com/toryfren/study_flutter_timer
따라하면서 이해안가는 부분 (학습 히스토리)
- StreamSubscription - 이해가 잘 안가서 찾던 중 이분이 정리를 잘 하셨음.
https://software-creator.tistory.com/9
Flutter - 스트림. 다트에서 비동기 프로그래밍
Flutter - 스트림. 다트에서 비동기 프로그래밍 목차 스트림이란? 스트림 간단한 예제 스트림 다양하게 처리하기 스트림 내부 구조 서브스크립션 브로드 캐스트 스트림 컨트롤러 1. Stream이란? 스트
software-creator.tistory.com
- UI중 Layout 관련 부분 학습. ( Column - mainAxisAlignment: MainAxisAlignment.center )
https://flutter.dev/docs/development/ui/layout
Layouts in Flutter
Learn how Flutter's layout mechanism works and how to build a layout.
flutter.dev
- part, part of - part를 선언한 객체의 일부라는 뜻. 일부가 된 객체에서는 part of 선언.
예제코드상에는 있지만 코드가 일부 표현안된게 있음.
=============================== timer_state.dart ====================================
part of 'timer_bloc.dart';
abstract class TimerState extends Equatable {
final int duration;
const TimerState(this.duration);
@override
List<Object> get props => [duration];
}
=============================== timer_bloc.dart ====================================
part 'timer_event.dart';
part 'timer_state.dart';
class TimerBloc extends Bloc<TimerEvent, TimerState> {
final Ticker _ticker;
static const int _duration = 60;
}
.....
'스터디' 카테고리의 다른 글
로컬에서 임시 외부 도메인 생성하기 (0) | 2020.11.16 |
---|---|
spring boot에서 restTemplate 호출시 응답값을 deserialize 하는 과정에 오류 해결. (0) | 2020.10.21 |
String Bean vs Static method 언제 어느걸 사용해야할까? (0) | 2020.10.13 |
wiremock. stateful-behaviour (0) | 2020.08.04 |