Skip to content

RRuleGenerator is a Flutter widget for generating recurring rules

License

Notifications You must be signed in to change notification settings

Sidhesh-naik-cci/rrule_generator

 
 

Repository files navigation

rrule_generator

RRuleGenerator is a widget for generating recurrence rules, such as described in the iCalendar RFC

This widget is based on the rrule package.

The widget is actively used in the Calendar Clock app.

Example one

Installation

Add this to your pubspec.yaml dependencies:

rrule_generator: ^0.5.5

How to use

Add the widget to your app like this:

RRuleGenerator(
  config: RRuleGeneratorConfig(),
  initialRRule: 'RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=TU;BYSETPOS=1;COUNT=9',
  textDelegate: const EnglishRRuleTextDelegate(),
  onChange: (String newValue) => print(newValue),
);

The current version of the widget has 17 text delegates that you can already use:

  • English (default)
  • Dutch
  • Turkish
  • French
  • Danish
  • Chinese
  • Finnish
  • Estonian
  • Bulgarian
  • German
  • Hungarian
  • Spanish
  • Slovenian
  • Italian
  • Indonesian
  • Czech
  • Swedish You can easily create your own ones as well!

About

RRuleGenerator is a Flutter widget for generating recurring rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 94.8%
  • HTML 4.6%
  • Other 0.6%