cron_form_field 0.2.0 copy "cron_form_field: ^0.2.0" to clipboard
cron_form_field: ^0.2.0 copied to clipboard

outdated

This CronFormField package written in Dart for the Flutter. You can edit cron expressions with this form field in an alert dialog.

cron_form_field #

pub package

Buy Me A Coffee

This CronFormField package written in Dart for the Flutter.
You can edit cron expressions with this form field in an alert dialog.
This widget extend TextField to has more useful behaviour.

Usage #

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  cron_form_field: "^0.2.0"

In your library add the following import:

import 'package:cron_form_field/cron_form_field.dart';

For help getting started with Flutter, view the online documentation.

Example #

CronFormField(
  initialValue: '0 0 */3 ? * * *',
  // controller: _cronController,
  labelText: 'Schedule',
  onChanged: (val) => print(val),
  onSaved: (val) => print(val),
);

The result of val in onChanged, validator and onSaved will be a String.

Preview #

Overview

3
likes
0
pub points
67%
popularity

Publisher

verified publishersiposdani87.com

This CronFormField package written in Dart for the Flutter. You can edit cron expressions with this form field in an alert dialog.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on cron_form_field