rrule_generator 0.9.0 copy "rrule_generator: ^0.9.0" to clipboard
rrule_generator: ^0.9.0 copied to clipboard

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

rrule_generator #

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

This widget is based on the rrule and teno_rrule packages.

The widget is actively used in the Calendar Clock app.

Example one

Installation #

Add this to your pubspec.yaml dependencies:

rrule_generator: ^0.9.0

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(),
  withExcludeDates: true,
  onChange: print,
);

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

  • English (default)
  • Dutch
  • Turkish
  • French
  • Danish
  • Chinese
  • Finnish
  • Estonian
  • Bulgarian
  • Polish
  • German
  • Greek
  • Hungarian
  • Spanish
  • Slovenian
  • Norwegian
  • Italian
  • Indonesian
  • Czech
  • Swedish
  • Latvian
  • Lithuanian
  • Croatian
  • Brazilian Portuguese
  • Persian
  • Russian
  • Icelandic
  • Serbian
  • Arabic
  • Albanian You can easily create your own ones as well!
10
likes
130
points
552
downloads

Publisher

verified publisherjelter.net

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (license)

Dependencies

flutter, intl

More

Packages that depend on rrule_generator