Phoenix.rebirth(context);
flutter
Thứ Tư, 16 tháng 12, 2020
Thứ Năm, 12 tháng 11, 2020
How to change icon color in flutter
@override
Widget build(BuildContext context) {
  return new Scaffold(
    drawer: new Drawer(),
    appBar: new AppBar(
      title: new Text("Navigation Drawer"),
      iconTheme: new IconThemeData(color: Colors.green),
    ),
  );
}Thứ Ba, 4 tháng 8, 2020
How to automatically widget down line in flutter
Wrap(
children: [
MyWidget(),
MyWidget(),
MyWidget(),
MyWidget(),
MyWidget(),
],
),
children: [
MyWidget(),
MyWidget(),
MyWidget(),
MyWidget(),
MyWidget(),
],
),
Chủ Nhật, 2 tháng 8, 2020
How to add lib from github in flutter
dependencies:
  flutter:
    sdk: flutter
  carousel_pro:
    git:
      url: git://github.com/jlouage/flutter-carousel-pro.git
      ref: masterThứ Ba, 28 tháng 7, 2020
how to change double to int flutter
double d = 20.5;
int i = d.toInt(); // i = 20
int i = d.round(); // i = 21
int i = d.ceil();  // i = 21
int i = d.floor(); // i = 20Thứ Năm, 11 tháng 6, 2020
Thứ Tư, 10 tháng 6, 2020
Đăng ký:
Nhận xét (Atom)
How to reload app in flutter
Phoenix . rebirth (context);
- 
Wrap( children: [ MyWidget(), MyWidget(), MyWidget(), MyWidget(), MyWidget(), ], ),
- 
try { final request = await client . get (...); final response = await request . close () . timeout ( const Duration ( se...
- 
DateTime. parse (json[ 'modified_gmt' ]+ 'Z' as String)
