clock_widget 0.0.1 copy "clock_widget: ^0.0.1" to clipboard
clock_widget: ^0.0.1 copied to clipboard

A flutter package that provides a clock widget that can be used to display the current time.

Features #

  • Display a digital clock in UI.
  • Not affected by change in context, it's a stream service.

Usage #

Installation #

Add clock_widget to your pubspec.yaml file:

dependencies:
  clock_widget: ^0.0.1 # Use the latest version

Import #

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

Clockwidget implementation #

To show the digital clock widget, use the ClockWidget() method:

ClockWidget(
  // Prop to customise the background color
  bgColor: Colors.white,
),
1
likes
0
pub points
42%
popularity

Publisher

verified publisheradarsh7.dev

A flutter package that provides a clock widget that can be used to display the current time.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on clock_widget