Skip to content
[Examples] Simple basic isolated apps, for budding flutter devs.
Dart Objective-C Java Ruby Shell Swift Kotlin
Branch: master
Clone or download

Latest commit

Latest commit 186a484 Mar 24, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Setup sponsorship button Jun 14, 2019
dropdown_button updated gradle wrapper Mar 24, 2020
enabling_splash_screen updated gradle wrapper Mar 24, 2020
expense_planner updated gradle wrapper Mar 24, 2020
google_signin updated gradle wrapper Mar 24, 2020
grid_layout updated gradle wrapper Mar 24, 2020
handling_routes updated gradle wrapper Mar 24, 2020
image_from_network updated gradle wrapper Mar 24, 2020
img init Aug 8, 2017
infinite_list updated gradle wrapper Mar 24, 2020
load_local_image updated gradle wrapper Mar 24, 2020
load_local_json updated gradle wrapper Mar 24, 2020
navigation_drawer updated gradle wrapper Mar 24, 2020
persist_key_value updated gradle wrapper Mar 24, 2020
simple_material_app updated gradle wrapper Mar 24, 2020
stateful_widget updated gradle wrapper Mar 24, 2020
stateless_widgets updated gradle wrapper Mar 24, 2020
tip_calculator updated gradle wrapper Mar 24, 2020
using_alert_dialog updated gradle wrapper Mar 24, 2020
using_bottom_nav_bar updated gradle wrapper Mar 24, 2020
using_custom_fonts updated gradle wrapper Mar 24, 2020
using_edittext updated gradle wrapper Mar 24, 2020
using_firebase_db add missing files and update deps Mar 19, 2020
using_gradient updated gradle wrapper Mar 24, 2020
using_http_get updated gradle wrapper Mar 24, 2020
using_listview updated gradle wrapper Mar 24, 2020
using_snackbar updated gradle wrapper Mar 24, 2020
using_stepper updated gradle wrapper Mar 24, 2020
using_tabs updated gradle wrapper Mar 24, 2020
using_theme updated gradle wrapper Mar 24, 2020
.gitignore updated gitignore fle Oct 4, 2019
LICENSE.txt init Aug 8, 2017
README.md 🚧 fix readme file Dec 26, 2019
delete_build_folder.sh updated bash script to delete build folders Nov 29, 2019
get_packages.sh updated bash script to get packages Nov 29, 2019
update_gradle_wrapper.sh added upgrade gradle script Feb 17, 2020

README.md

Image

Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

Main repository containing all the example apps demonstrating features/functionality/integrations in Flutter application development

Featured In

Lookup Links: [Setup Flutter] [Widgets Catalog] [Dart Lang]

Example apps

  1. Simple Material App
  2. Using Theme
  3. Stateless Widgets
  4. Stateful Widget
  5. Using EditText
  6. Load local image
  7. Load local json
  8. Using HTTP GET
  9. Using Alert Dialog
  10. Using Stepper
  11. Using Tabs
  12. Using Bottom Navigation Bar
  13. Using Custom Fonts
  14. Using Gradient
  15. Navigation Drawer
  16. Enable Splash Screen
  17. Using Listview
  18. Using SnackBar
  19. Grid Layout
  20. DropDown Button
  21. Image from Network
  22. Infinite List
  23. Google Signin
  24. Persist Key Value

Complete apps with multiple features

  1. Tip Calculator
  2. Expense Planner
  3. Notes App

Get packages for all flutter projects

  • 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!

Pull Requests

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:

  1. Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
  2. If its a feature, bugfix, or anything please only change code to what you specify.
  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
  5. Check for existing issues first, before filing an issue.
  6. 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>

  7. Have fun!

Extra

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!

Author & support

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]

License

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.
You can’t perform that action at this time.