rrule_generator
0.10.1+2, released 4 months ago by jelter.net
A Flutter widget for generating iCalendar recurrence rules (rrule).
WASM-ready
What it does
RRuleGenerator is a Flutter widget that provides a UI interface for users to configure recurrence rules (such as daily, weekly, monthly, or yearly repeats) as described in the iCalendar RFC 5545. It supports localization for dozens of languages, custom text delegates, and styling options.
AI-written summary of version 0.10.1+2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a calendar or event-scheduling app that requires users to specify recurrence rules.
- You need a localized UI widget to generate and edit iCalendar RRULE strings.
Skip it when
- You only need to parse or compute recurrence dates programmatically without showing a configuration UI.
- You require a completely custom scheduling UI that does not fit standard iCalendar recurrence patterns.
Strengths
- Supports multiple periods (Yearly, Monthly, Weekly, Daily, Never).
- Extensive built-in translations for over 30 languages with custom locale delegate support.
- Highly customizable styling for headers, switches, date pickers, and dividers.
Weaknesses
- Limited to generating recurrence rules matching the iCalendar RFC specification.
- Does not handle the underlying recurrence date calculations by itself (relies on external packages).
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
RRuleGenerator(
config: RRuleGeneratorConfig(),
initialRRule: 'RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=TU;BYSETPOS=1;COUNT=9',
withExcludeDates: true,
onChange: print,
)Works with
Packages commonly used together with rrule_generator: ones it builds on, ones built on it, and its own family.