main function

void main()

This is the Canvas free version of the clock

I wanted to give the web something, even if not a full experience.

Implementation

void main() {
  //We have no inputs, so Fuschia should be fine all around
  debugDefaultTargetPlatformOverride = TargetPlatform.fuchsia;
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.landscapeRight,
    DeviceOrientation.landscapeLeft,
  ]);

  // Run the app
  // We use a Builder to pass the scaffolding, so Theme.of() works
  runApp(ClockCustomizer((model) =>
      Builder(builder: (context) => ClockScaffolding(model: model))));
}