Advertisement
joaopaulofcc

Untitled

Oct 22nd, 2020
799
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 3.20 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() {
  4.   runApp(MyApp());
  5. }
  6.  
  7. class MyApp extends StatelessWidget {
  8.   @override
  9.   Widget build(BuildContext context) {
  10.     return MaterialApp(
  11.       title: 'Flutter Demo',
  12.       theme: ThemeData(
  13.         primarySwatch: Colors.blue,
  14.         visualDensity: VisualDensity.adaptivePlatformDensity,
  15.       ),
  16.       home: MyHomePage(title: 'url_laucher'),
  17.     );
  18.   }
  19. }
  20.  
  21. class MyHomePage extends StatefulWidget {
  22.   MyHomePage({Key key, this.title}) : super(key: key);
  23.  
  24.   final String title;
  25.  
  26.   @override
  27.   _MyHomePageState createState() => _MyHomePageState();
  28. }
  29.  
  30. class _MyHomePageState extends State<MyHomePage> {
  31.  
  32.   @override
  33.   Widget build(BuildContext context) {
  34.     return Scaffold(
  35.       appBar: AppBar(
  36.         title: Text(widget.title),
  37.       ),
  38.       body: Center(
  39.         child: Column(
  40.           mainAxisAlignment: MainAxisAlignment.center,
  41.           children: <Widget>[
  42.             new RaisedButton(
  43.               padding: const EdgeInsets.all(8.0),
  44.               textColor: Colors.white,
  45.               color: Colors.blue,
  46.               onPressed: () {
  47.                
  48.               },
  49.               child: new Text("Navegador"),
  50.             ),
  51.             new RaisedButton(
  52.               padding: const EdgeInsets.all(8.0),
  53.               textColor: Colors.white,
  54.               color: Colors.blue,
  55.               onPressed: () {
  56.                
  57.               },
  58.               child: new Text("Whatsapp"),
  59.             ),
  60.             new RaisedButton(
  61.               padding: const EdgeInsets.all(8.0),
  62.               textColor: Colors.white,
  63.               color: Colors.blue,
  64.               onPressed: () {
  65.                
  66.               },
  67.               child: new Text("Email"),
  68.             ),
  69.             new RaisedButton(
  70.               padding: const EdgeInsets.all(8.0),
  71.               textColor: Colors.white,
  72.               color: Colors.blue,
  73.               onPressed: () {
  74.                
  75.               },
  76.               child: new Text("Mapas"),
  77.             ),
  78.             new RaisedButton(
  79.               padding: const EdgeInsets.all(8.0),
  80.               textColor: Colors.white,
  81.               color: Colors.blue,
  82.               onPressed: () {
  83.                
  84.               },
  85.               child: new Text("Messenger"),
  86.             ),
  87.             new RaisedButton(
  88.               padding: const EdgeInsets.all(8.0),
  89.               textColor: Colors.white,
  90.               color: Colors.blue,
  91.               onPressed: () {
  92.                
  93.               },
  94.               child: new Text("Contatos"),
  95.             ),
  96.             new RaisedButton(
  97.               padding: const EdgeInsets.all(8.0),
  98.               textColor: Colors.white,
  99.               color: Colors.blue,
  100.               onPressed: () {
  101.                
  102.               },
  103.               child: new Text("SMS"),
  104.             ),
  105.             new RaisedButton(
  106.               padding: const EdgeInsets.all(8.0),
  107.               textColor: Colors.white,
  108.               color: Colors.blue,
  109.               onPressed: () {
  110.                
  111.               },
  112.               child: new Text("Telefone"),
  113.             ),
  114.           ],
  115.         ),
  116.       ),
  117.     );
  118.   }
  119. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement