Main repository containing all the example apps demonstrating features/functionality/integrations in Flutter application development
Lookup Links: [Setup Flutter] [Widgets Catalog] [Dart Lang]
- Simple Material App
- Using Theme
- Stateless Widgets
- Stateful Widget
- Using EditText
- Load local image
- Load local json
- Using HTTP GET
- Using Alert Dialog
- Using Stepper
- Using Tabs
- Using Bottom Navigation Bar
- Using Custom Fonts
- Using Gradient
- Navigation Drawer
- Enable Splash Screen
- Using Listview
- Using SnackBar
- Grid Layout
- DropDown Button
- Image from Network
- Infinite List
- Google Signin
- Persist Key Value
- Once you have cloned this repo, navigate to the root of this repo.
- Next run
./get_packages.sh
Make sure the script is executable. If it is not, then run
chmod +x get_packages.sh
first to make it executable. - Done!
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
- Match coding style (braces, spacing, etc.) This is best achieved using
Reformat Code
feature of Android StudioCMD
+Option
+L
on Mac andCTRL
+ALT
+L
on Linux + Windows . - If its a feature, bugfix, or anything please only change code to what you specify.
- Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
- Pull requests must be made against
develop
branch. Any other branch (unless specified by the maintainers) will get rejected. - Check for existing issues first, before filing an issue.
- Make sure you follow the set standard as all other projects in this repo do
Make sure the package name conforms to the format:
github.nisrulz.<app_name>
- Have fun!
Since the repo is pretty large now , I am sure many folks would like to download only some of the projects. To tackle that follow the steps below:
-
Install
svn
using homebrew (mac/linux)brew install svn
-
Copy the name of the example folder in this repo i.e
simple_material_app
-
Next replace
example_folder
in the below command:svn checkout https://github.com/nisrulz/flutter-examples/trunk/example_folder
i.e Consider
simple_material_app
is the name of the example's folder, the command becomes:svn checkout https://github.com/nisrulz/flutter-examples/trunk/simple_material_app
-
Done! You should have the specific example all checked out!
This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the the list of contributors here.
If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 [PayPal]
Copyright 2017 Nishant Srivastava
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.