Skip to content

Instantly share code, notes, and snippets.

@iqbalhood
Last active October 15, 2019 08:04
Show Gist options
  • Save iqbalhood/fbb8646ddcf1a51ad0d4ef4ee14fe104 to your computer and use it in GitHub Desktop.
Save iqbalhood/fbb8646ddcf1a51ad0d4ef4ee14fe104 to your computer and use it in GitHub Desktop.
TextFormField(
initialValue: 'iqbalhood@gmail.com',
decoration: InputDecoration(
hintText: 'Email',
contentPadding: EdgeInsets.fromLTRB(20.0, 10.0, 20.0, 10.0),
border: OutlineInputBorder(borderRadius: BorderRadius.circular(32.0)),
),
),
CircleAvatar(
backgroundColor: Colors.transparent,
radius: 48.0,
child: Image.asset('assets/logo.png'),
),
//List<Widget> widgets = [];
// _HomeState() {
// for (int i = 0; i < 20; i++) {
// widgets.add(Text(
// " Item Ke " + i.toString(),
// style: TextStyle(fontSize: 20.0),
// ));
// }
// }
// @override
// void initState() {
// // TODO: implement initState
// super.initState();
// setState(() {
// for (int i = 0; i < 20; i++) {
// // widgets.add(Text(
// // " Item Ke " + i.toString(),
// // style: TextStyle(fontSize: 30.0),
// // ));
// widgets.add(ListTile(
// title: Text("Grace Ellington"),
// subtitle: Text("080989786556557"),
// ));
// }
// });
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment