際際滷

際際滷Share a Scribd company logo
2018.03.13
Kenichi Kambara (@korodroid)
potatotips #49
^Hello Flutter ̄
Flutter
Flutter
´
#
!!!
´
About me
?
?
? Droidcon Stockholm 2014
? Droidcon Spain 2014
? Droidcon Amsterdam 2013
? Droidcon Paris 2013
? Smartphone & Tablet 2014 Spring Tokyo
? Developers Summit 2013 Summer & 2015
?
? Mobile Dev Blog
? Android
? NTT
(@korodroid)
Introduction
?
? ^Hello Flutter ̄ ?
Hello Flutterの肝におさえたいFlutterのポイント
Hello Flutterの肝におさえたいFlutterのポイント
^Hello Flutter ̄
Android Studio
[ ]Flutter SDK
$ git clone -b beta https://github.com/?utter/?utter.git
$ export PATH=`pwd`/?utter/bin:$PATH
$ ?utter doctor
[Preferences]Plugins->Flutter
☆Dart
Flutter
Flutter
Hot Reload
Web
Save HotReload
☆Save HotReload ON
for Dart2
UI Dart
UI->Widgets Tree
Body
AppBar
FAB
Widgets Tree
Scaffold
AppBar ?
Floating?
ActionButton
Body?
(Container)
Widgets Tree
Scaffold(appBar: _appBar,?
body: _body,?
?oatingActionButton: _fabButton)
☆1
Widgets Tree
FloatingActionButton _fabButton = FloatingActionButton(
tooltip: ' ',
child: Icon(Icons.attach_money),
onPressed: (){
//
int totalBill = (amountBill * (100 + taxPercentage) / 100).round();
//
AlertDialog dialog = AlertDialog(
content: new Text(" ( ):n $totalBill")
);
showDialog(context: context, child: dialog);
}
);
UI
OS
?nal ThemeData iOSTheme = ThemeData(
primarySwatch: Colors.grey,
accentColor: Color(0xFFFF4081),
);
?nal ThemeData defaultTheme = ThemeData(
primarySwatch: Colors.blue,
accentColor: Color(0xFFFF4081)
);
void main() {
runApp(MaterialApp(
title: ' ',
theme: defaultTargetPlatform == TargetPlatform.iOS
? iOSTheme
: defaultTheme,
home: TaxCalc()
));
}
Conclusion
?Dart ?
?Dart2
Appendix( )
- Please let me know if you have any requests ?
such as technical speeches, technical writings and so on.
Facebook:http://fb.com/kanbara.kenichi
Google+:+Kenichi Kambara
LinkedIn:http://www.linkedin.com/in/korodroid
Twitter:@korodroid
Thank you so much.

More Related Content

Hello Flutterの肝におさえたいFlutterのポイント