NVS Cheatsheet for Mobile Application
|
Install Flutter
|
|
|
Install Android Studio
|
|
|
Test drive
|
|
Flutter is a Open Source Development-Kit from Google. It is used to create apps for Android, iOS, Windows, macOS, Linux, Google Fuchsia and the Web.
|
|
Flutter applications are written in Dart and use many functions of this language.
|
import 'package:flutter/material.dart';
void main() => runApp(HelloWorldApp());
class HelloWorldApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Hello World App',
home: Scaffold(
appBar: AppBar(
title: Text('Hello World App'),
),
body: Center(
child: Text('Hello World'),
),
),
);
}
}
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Icon Tutorial',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatefulWidget {
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('TutorialKart - Icon Tutorial'),
),
body: Column(children: <Widget>[
Center(child: Icon(Icons.directions_transit)),
]),
);
}
}
Happy to see your cheat sheet. I'd like to see more. It would be great to expand this some more to include resources for learning flutter and dart. Thanks for creating.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.