rrule_generator 0.2.0 rrule_generator: ^0.2.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
Installation #
Add this to your pubspec.yaml
dependencies:
rrule_generator: ^0.2.0
How to use #
Add the widget to your app like this:
RRuleGenerator(
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 8 text delegates that you can already use. One in English, one in Dutch, one in Turkish, French, Danish, Finnish, Bulgarian, German, Spanish, Slovenian, Italian, and one in Indonesian. You can easily create your own ones as well!