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

outdated

A simple widget for generating rrules

example/lib/main.dart

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),
        ),
      ),
    );
  }
}