Update README.md

This commit is contained in:
Pooja Bhaumik
2018-09-16 23:43:34 +05:30
committed by GitHub
parent 620613cb82
commit c90413699d

View File

@@ -4,7 +4,11 @@ This is aimed for complete beginners in Flutter, to get them acquainted with the
## Text
<pre> Text(
<table>
<tr>
<td>
<pre>
Text(
"Hello Flutter It is Awesome WOW",
textAlign: TextAlign.right,
textDirection: TextDirection.ltr,
@@ -18,7 +22,74 @@ This is aimed for complete beginners in Flutter, to get them acquainted with the
wordSpacing: 40.0,
decoration: TextDecoration.overline,
decorationStyle: TextDecorationStyle.wavy),
), </pre>
),
</pre>
</td>
<td>
<img src = "#">
</td>
</tr>
## Container
<table>
<tr>
<td>
<pre>
Container(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
margin: EdgeInsets.all(25.0),
decoration: FlutterLogoDecoration(),
),Container(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
margin: EdgeInsets.all(25.0),
decoration: FlutterLogoDecoration(),
),
</pre>
</td>
<td>
<pre>
Container(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
margin: EdgeInsets.all(25.0),
decoration: new ShapeDecoration(
color: Colors.white,
shadows: <BoxShadow>[
BoxShadow(color: Colors.black, blurRadius: 15.0)
],
shape: new Border.all(
color: Colors.red,
width: 8.0,
),
),
child: Center(child: const Text('Hello Flutter', textAlign: TextAlign.center)),
),
</pre>
</td>
<td>
<pre>
Container(
height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
margin: EdgeInsets.all(25.0),
decoration: new BoxDecoration(
color: Colors.yellow,
borderRadius: new BorderRadius.circular(55.0),
border: new Border.all(
width: 5.0,
color: Colors.red,
),
),
child: Center(child: const Text('Hello Flutter', textAlign: TextAlign.center)),
),
</pre>
</td>
<td></td>
</tr></table>
## Getting Started
For help getting started with Flutter, view our online