Skip to content

Instantly share code, notes, and snippets.

@anmolseth06
Created October 16, 2019 18:06
Show Gist options
  • Save anmolseth06/f679c17d9b7c7c9520bbe83078a1aa99 to your computer and use it in GitHub Desktop.
Save anmolseth06/f679c17d9b7c7c9520bbe83078a1aa99 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() {
runApp(MyFirstApp());
}
class MyFirstApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
appBar: AppBar(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(bottom: Radius.circular(30))),
elevation: 0,
actions: <Widget>[
Padding(
padding: const EdgeInsets.only(left: 20),
child: Icon(Icons.add_circle),
),
Padding(
padding: const EdgeInsets.only(left: 20),
child: Icon(Icons.thumb_up),
),
Padding(
padding: const EdgeInsets.only(left: 20, right: 10),
child: Icon(Icons.mode_comment),
),
],
title: Text("Anmol Garg"),
),
drawer: Drawer(),
body: Center(
child: Text(
"hello world",
style: TextStyle(
color: Colors.blue,
fontWeight: FontWeight.bold,
fontStyle: FontStyle.italic,
fontSize: 60),
)),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment