Skip to content

mrkivan/my_flutter_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My flutter app

My 1st flutter app and fetch data from open api


Fetch Sample country list from https://restcountries.com/v3.1/all and Show all country list into a list view

Overall app flow:

Alt text

App widget tree

Alt text

Library used:

Lib name Description URL
http Network lib https://pub.dev/packages/http
json_serializable Create code for JSON serialization https://pub.dev/packages/json_serializable
json_annotation https://pub.dev/packages/json_annotation
flutter_svg To load and display SVG files https://pub.dev/packages/flutter_svg
hive, hive_flutter Hive is a no-sql DB, we can store data as key value. https://pub.dev/packages/hive
hive_generator To generate TypeAdapter for hive https://pub.dev/packages/hive_generator
path_provider To load commonly used locations on the filesystem https://pub.dev/packages/path_provider
fluttertoast To display toast messages https://pub.dev/packages/fluttertoast
provider To manage app state management https://pub.dev/packages/provider
logging Log message with data and time prefix https://pub.dev/packages/logging
sprintf To use for string interpolation or format https://pub.dev/packages/sprintf
build_runner To generate code according to configuration https://pub.dev/packages/build_runner

Customized font use:

Some flutter command:

flutter pub run build_runner build -To create fullter app: flutter pub outdated

  • Create Sample app:

flutter create flutter_complete_guide

  • Run app

flutter run

About

My Flutter App

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published