added using_gradient example

This commit is contained in:
Nishant Srivastava
2017-09-29 22:41:29 -07:00
parent a12bf7b729
commit 5846cca07a
56 changed files with 1413 additions and 0 deletions

View File

@ -0,0 +1,24 @@
import 'package:flutter/material.dart';
void main() {
runApp(new MaterialApp(
// Title
title: "Using Gradient",
// Home
home: new Scaffold(
// Appbar
appBar: new AppBar(
// Title
title: new Text("Using Gradient"),
),
// Body
body: new Container(
// Center the content
child: new Center(
// Add Text
child: new Text(
"Hello World!",
),
),
))));
}