Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Latest commit

 

History

History

flutter_clock_helper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Flutter Clock Helper

This package provides scaffolding code for the clock in the Flutter Clock contest.

Contestants: Do not edit this code.

Model

Provides data that can change in the clock. Look in model.dart for more details.

  • Time format (12- or 24-hour)
  • Location
  • Temperature
  • Temperature high
  • Temperature low
  • Temperature unit
  • Weather unit

Clock Customizer

Provides customizations for your clock (based on the model). You can change the behavior of your clock based on these customizations.

To use inside your app's main.dart:

  runApp(ClockCustomizer((ClockModel model) => AnalogClock(model)));

For more information, see the code inside lib/. For a full example, see the Analog Clock or Digital Clock in this GitHub repo.