itachiniko

Untitled

Sep 26th, 2021
814
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() => runApp(MaterialApp(
  4.       home: Scaffold(
  5.         appBar: AppBar(
  6.           title: const Text('My First App'),
  7.           centerTitle: true,
  8.           backgroundColor: Colors.red[600],
  9.         ),
  10.         body: const Center(
  11.           child: Text(
  12.             'Hello Ninjas',
  13.             style: TextStyle(
  14.               fontSize: 20.0,
  15.               fontWeight: FontWeight.bold,
  16.               letterSpacing: 2.0,
  17.               color: Colors.grey[600],
  18.             ),
  19.           ),
  20.         ),
  21.         floatingActionButton: FloatingActionButton(
  22.           onPressed: () {},
  23.           child: Text('Click'),
  24.           backgroundColor: Colors.red[600],
  25.         ),
  26.       ),
  27.     ));
RAW Paste Data