mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-07-15 02:46:03 +08:00
updated: dropdown_button example readme
added: demo gif
This commit is contained in:
@ -1,8 +1,10 @@
|
|||||||
# dropdown_button
|
# DropDown Button
|
||||||
|
|
||||||
|
Example app showing implementing drop down button.
|
||||||
|
|
||||||
|
<img src="demo_img.gif" height="600em" />
|
||||||
|
|
||||||
Implementation of DropdownButton
|
|
||||||
|
|
||||||
## 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
dropdown_button/demo_img.gif
Normal file
BIN
dropdown_button/demo_img.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 201 KiB |
@ -39,6 +39,7 @@ class MyAppState extends State<MyApp> {
|
|||||||
@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(
|
||||||
title: new Text("DropDown Button Example"),
|
title: new Text("DropDown Button Example"),
|
||||||
|
Reference in New Issue
Block a user