opening_hour_display_widget 0.0.2 copy "opening_hour_display_widget: ^0.0.2" to clipboard
opening_hour_display_widget: ^0.0.2 copied to clipboard

A Flutter plugin to display opening hours of a business, with a customizable design.

opening_hour_display_widget #

A Flutter plugin to display opening hours of a business, with a customizable design: From the front-size to the back-ground color, you can customize everything.The widget retrieves the system time from the mobile terminal to display the appropriate message

Installation #

Run this command on a terminal at the root of your project:

flutter pub add opening_hour_display_widget

Customizable options : #

String openTitle String closeTitle String openDescription String closeDescription Color openColor (Text color if open) Color closeColor (Text color if closed) double boxWidth (Wdith of the widget) double iconSize (Width of the clock Icon) double textSize int openHour (define in int the open Hour) int closeHour (define in int the closed Hour) Color openHourBackgroundColor Color closeHourBackgroundColor

Example #

After running the command below, you should see this in your pubspec.yaml :

pubspec.yaml

To use it, you must first import the package

pubspec.yaml

And finally, to use it, you can do this way :

pubspec.yaml

This is a screenshot of the excpected result :

pubspec.yaml

1
likes
150
points
22
downloads

Publisher

verified publisherhery.website

Weekly Downloads

A Flutter plugin to display opening hours of a business, with a customizable design.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on opening_hour_display_widget