cupertino_clock 0.1.0+1 copy "cupertino_clock: ^0.1.0+1" to clipboard
cupertino_clock: ^0.1.0+1 copied to clipboard

A clock with the Cupertino look and feel.

example/lib/main.dart

import 'package:cupertino_clock/cupertino_clock.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const CustomClockExample());
}

class CustomClockExample extends StatelessWidget {
  const CustomClockExample({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: CupertinoAnalogClock(size: 500),
        ),
      ),
      debugShowCheckedModeBanner: false,
      theme: ThemeData(colorScheme: const ColorScheme.dark()),
      themeMode: ThemeMode.dark,
    );
  }
}
2
likes
150
pub points
26%
popularity

Publisher

unverified uploader

A clock with the Cupertino look and feel.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, flutter, meta, timezone

More

Packages that depend on cupertino_clock