rrule_generator 0.0.1 rrule_generator: ^0.0.1 copied to clipboard
A simple widget for generating rrules
import 'package:flutter/material.dart';
import 'package:rrule_generator/rrule_generator.dart';
import 'package:rrule_generator/localizations/english.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
home: Scaffold(
appBar: AppBar(),
body: RRuleGenerator(
textDelegate: const EnglishRRuleTextDelegate(),
onChange: (String newValue) => print(newValue),
),
),
);
}
}