Professional Documents
Culture Documents
What is Flutter? Flutter is Googles toolkit for building beautiful, class RandomWords extends StatefulWidget {
natively compiled applications for mobile, web, @override
and desktop from a single codebase. RandomWordsState createState() => RandomWordsS‐
What progra‐ Dart tate();
mming language }
is Flutter based
on? Add Something to a Widget
When was Flutter December 2018 @override
released? Widget build(BuildContext context) {
What well-known Alibaba, New York Times, Tencent, Ebay, return Scaffold(
apps were BMW, ... appBar: AppBar(
created using title: Text('Startup Name Generator'),
Flutter? ),
body: _buildSuggestions(),
Hello World in Flutter
);
import 'package:flutter/material.dart'; }
void main() => runApp(HelloWorldApp());
class HelloWorldApp extends StatelessWidget { Change appearance of a Widget
@override class RandomWordsState extends State<RandomWords>
Widget build(BuildContext context) { {
return MaterialApp( final _suggestions = <WordPair>[];
title: 'Hello World App', final _biggerFont = const TextStyle(fontSize:
home: Scaffold( 18.0);
appBar: AppBar( }
title: Text('App Bar Title here'),
),
body: Center(
child: Text('Hello World'),
),
),
);
}
}