From e37906caa9478869ad19567a6dd7c019ee10a1db Mon Sep 17 00:00:00 2001 From: senal4 <56189065+senal4@users.noreply.github.com> Date: Fri, 18 Oct 2019 20:53:04 +0530 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index c8a8b48..9acd250 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,26 @@ # Flutter-Layout-Cheat-Sheet This repo includes identified Flutter Layouts which anyone can refer as their layout cheat sheet. +Image.asset( + 'images/lake.jpg', + fit: BoxFit.cover, +),Icon( + Icons.star, + color: Colors.red[500], +),class MyApp extends StatelessWidget { + @override + Widget build(BuildContext context) { + return Container( + decoration: BoxDecoration(color: Colors.white), + child: Center( + child: Text( + 'Hello World', + textDirection: TextDirection.ltr, + style: TextStyle( + fontSize: 32, + color: Colors.black87, + ), + ), + ), + ); + } +}