clock_analog 0.0.3 copy "clock_analog: ^0.0.3" to clipboard
clock_analog: ^0.0.3 copied to clipboard

outdated

Clock Analog is used to pick time of day (without dialog box). User can use this package to add widgets of analog clock picker on screen, and can retrieve selected time with onChange event.

Clock Analog #

Clock analog allow you select time of day(Time Picker) to your Flutter app without dialog box. One can add it as widgets on screen and select time.

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  clock_analog: ^0.0.3
  1. Import the package and use it in your Flutter App.
import 'package:clock_analog/clock_analog.dart';

Example #

class ClockAnalog extends StatelessWidget {
  const ClockAnalog({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child:ClockAnalog(
          initialTime: TimeOfDay.now(),
          onChanged: (value) {

          },
        ),
      ),
    );
  }
}

clock_analog #

7
likes
50
points
50
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Clock Analog is used to pick time of day (without dialog box). User can use this package to add widgets of analog clock picker on screen, and can retrieve selected time with onChange event.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on clock_analog