목록2022/09/29 (5)
coding etude
https://pub.dev/documentation/get/latest/ get - Dart API docs About Get GetX is an extra-light and powerful solution for Flutter. It combines high-performance state management, intelligent dependency injection, and route management quickly and practically. GetX has 3 basic principles. This means that these are the pr pub.dev flutter 를 Dart 로 개발을 할때 상태관리를 위한 여러가지 방법들이 있다(Rx, stream, provider.. 등등..
TabBar 위젯을 사용하면서 controller를 지정해 주지 않으면 발생하는 오류. controller 는 직접 만들어서 적용해도 되지만 DefaultTabController위젯을 사용해도 된다. // DefaultController 사용예시 @override Widget build(BuildContext context){ return DefaultTabController( child: Scaffold( // 기존과 동일하게 작성 ) ); } ////////////////////////////////////////////// // StatefulWidget controller 예시 late TabController _tabController; @override void initState() { sup..
클레스에 소속되어 사용되어 지면 method 전역, 지역 모두 포함하여 개별적으로 사용되면 function class Mytest { function test(a, b){ // 메소드 } } var value = Mytest.test(a, b); function test2(a, b){ // 함수 } var value2 = test2(a, b);
https://api.flutter.dev/flutter/widgets/IndexedStack-class.html IndexedStack class - widgets library - Dart API A Stack that shows a single child from a list of children. The displayed child is the one with the given index. The stack is always as big as the largest child. If value is null, then nothing is displayed. This example shows a IndexedStack widget being use api.flutter.dev bottomNavigat..