Facebook
From Luan, 2 Years ago, written in Dart.
Embed
Download Paste or View Raw
Hits: 78
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() => runApp(MyApp());
  4.  
  5. class MyApp extends StatelessWidget {
  6.   @override
  7.   Widget build(BuildContext context) {
  8.     return MaterialApp(
  9.       title: 'Welcome to Flutter',
  10.       home: Scaffold(
  11.         appBar: AppBar(
  12.           title: const Text('Welcome to Flutter'),
  13.         ),
  14.         body: const Center(
  15.           child: Text('Hello World'),
  16.         ),
  17.       ),
  18.     );
  19.   }
  20. }