mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-05-19 22:16:27 +08:00
updated: readme with demo gifs and proper information
This commit is contained in:
@ -1,8 +1,10 @@
|
|||||||
# enabling_splash_screen
|
# Enabling Splash Screen
|
||||||
|
|
||||||
|
Example app showing implementing splash screen.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
Splash screen in a flutter project
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
||||||
[documentation](http://flutter.io/).
|
|
BIN
enabling_splash_screen/demo_img.gif
Normal file
BIN
enabling_splash_screen/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 524 KiB |
@ -1,8 +1,10 @@
|
|||||||
# grid_layout
|
# Grid Layout
|
||||||
|
|
||||||
|
Example app showing implementing grid layout.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
Using Grid Layout in Flutter app
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
||||||
[documentation](http://flutter.io/).
|
|
BIN
grid_layout/demo_img.gif
Normal file
BIN
grid_layout/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 625 KiB |
@ -9,6 +9,7 @@ class MyApp extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return new MaterialApp(
|
return new MaterialApp(
|
||||||
|
debugShowCheckedModeBanner: false,
|
||||||
home: new Scaffold(
|
home: new Scaffold(
|
||||||
appBar: new AppBar(
|
appBar: new AppBar(
|
||||||
// Here we take the value from the MyHomePage object that was created by
|
// Here we take the value from the MyHomePage object that was created by
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# navigation_drawer
|
# Navigation Drawer
|
||||||
|
|
||||||
|
Example app showing implementing navigation Drawer.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
Navigation Drawer Implementation
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
||||||
[documentation](http://flutter.io/).
|
|
BIN
navigation_drawer/demo_img.gif
Normal file
BIN
navigation_drawer/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
@ -5,6 +5,7 @@ import 'package:navigation_drawer/screens/settings.dart';
|
|||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(new MaterialApp(
|
runApp(new MaterialApp(
|
||||||
|
debugShowCheckedModeBanner: false,
|
||||||
home: new HomeScreen(), // route for home is '/' implicitly
|
home: new HomeScreen(), // route for home is '/' implicitly
|
||||||
routes: <String, WidgetBuilder>{
|
routes: <String, WidgetBuilder>{
|
||||||
// define the routes
|
// define the routes
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# using_listview
|
# Using Listview
|
||||||
|
|
||||||
|
Example app showing implementing listview.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
A new Flutter project.
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
||||||
[documentation](http://flutter.io/).
|
|
BIN
using_listview/demo_img.gif
Normal file
BIN
using_listview/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1004 KiB |
@ -3,6 +3,7 @@ import 'package:using_listview/contact_page.dart';
|
|||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(new MaterialApp(
|
runApp(new MaterialApp(
|
||||||
|
debugShowCheckedModeBanner: false,
|
||||||
home: new Scaffold(
|
home: new Scaffold(
|
||||||
appBar: new AppBar(
|
appBar: new AppBar(
|
||||||
title: new Text("Using Listview"),
|
title: new Text("Using Listview"),
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# using_snackbar
|
# Using SnackBar
|
||||||
|
|
||||||
|
Example app showing implementing snack bar.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
Sanck bar implementation in Flutter
|
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
For help getting started with Flutter, view our online
|
For help getting started with Flutter, view online [documentation](http://flutter.io/).
|
||||||
[documentation](http://flutter.io/).
|
|
BIN
using_snackbar/demo_img.gif
Normal file
BIN
using_snackbar/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 243 KiB |
@ -1,7 +1,7 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
runApp(new MaterialApp(home: new ContactPage()));
|
runApp(new MaterialApp(home: new ContactPage(), debugShowCheckedModeBanner: false,));
|
||||||
}
|
}
|
||||||
|
|
||||||
class ContactPage extends StatelessWidget {
|
class ContactPage extends StatelessWidget {
|
||||||
|
Reference in New Issue
Block a user