/flutter-examples

[Examples] Simple basic isolated apps, for budding flutter devs.

Primary LanguageDartApache License 2.0Apache-2.0

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. Custom Drawer
  2. DropDown Button
  3. Enable Splash Screen
  4. Firebase Analytics Integration
  5. Firebase Crashlytics Integration
  6. Google Signin
  7. Grid Layout
  8. Image Editor
  9. Image from Network
  10. Infinite List
  11. Load local image
  12. Load local json
  13. Navigation Drawer
  14. Persist Key Value
  15. Push Notifications
  16. Simple Material App
  17. Sliver App Bar
  18. Stateful Widget
  19. Stateless counter app
  20. Stateless Widgets
  21. Todo list using Provider
  22. Unit Testing
  23. Using Alert Dialog
  24. Using Bottom Navigation Bar
  25. Using Bottom Sheet
  26. Using Custom Fonts
  27. Using EditText
  28. Using Gradient
  29. Using HTTP GET
  30. Using InteractiveViewer
  31. Using Listview
  32. Using ListwheelScrollView
  33. Using SnackBar
  34. Using Stepper
  35. Using Tabs
  36. Using Theme
  37. View PDF File

Complete apps with multiple features

  1. Covid-19 App
  2. BMI Calculator
  3. Expense Planner
  4. Notes App
  5. Tip Calculator

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 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure the 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 it's a feature, bugfix, or anything please only change the 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 the develop branch. Any other branch (unless specified by the maintainers) will get rejected. Here is a link to a good PR made to this repo.
  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>

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.