mirror of
https://github.com/PoojaB26/FlutterBasicWidgets.git
synced 2026-04-05 14:29:05 +08:00
Update README.md
This commit is contained in:
75
README.md
75
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user