Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() => runApp(MaterialApp(
- home : Scaffold(
- appBar : AppBar(
- title : Text('App bar', style : TextStyle(color : Colors.red),),
- centerTitle : true,
- backgroundColor : Colors.black,
- ),
- body : Center(
- child : Text('hello there!'),
- ),
- floatingActionButton : FloatingActionButton(
- child : Text('click'),
- onPressed : null,
- ),
- ),
- debugShowCheckedModeBanner: false,
- ));
Add Comment
Please, Sign In to add comment