/flutter-world-time

Flutter/Dart development lab: a Flutter app that requests an API that returns world times and change its background image according to the retrieved times, howing whether it is day time or not.

Primary LanguageDart

World Time API Request

Table of contents

General info

This Flutter app implements requests https://worldtimeapi.org/pages/schema API that returns world times. The app background changes according to the retrieved time showing whether it is day time or not. The app covers the following contents:

  • Scaffold & AppBar Widgets
  • Colours & Fonts
  • Stateful Widget
  • Images & Assets
  • Buttons & Icons
  • Containers & Padding
  • Rows & Columns
  • Flutter Outline & Shortcuts
  • Expanded Widgets
  • Maps & Routing
  • Widget Lifecycle
  • Asynchronous Code
  • Flutter Packages (http, intl, spinkit)
  • World Time API Request
  • WorldTime Custom Class
  • Error Handling
  • Passing Route Data
  • Formatting & Showing Dates
  • Loaders / Spinners
  • Ternary Operators
  • List View Builder
  • Updating the Time

Technologies

        

App screenshots

References

  1. The Net Ninja - https://github.com/iamshaunjp
  2. World Time API - https://worldtimeapi.org/
  3. JSON Placeholder: https://jsonplaceholder.typicode.com/
  4. Dart Packages - https://pub.dev/