checkbox_formfield 0.2.0 checkbox_formfield: ^0.2.0 copied to clipboard
This package contains checkbox widgets that can be used as FormField for Flutter beginners.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add checkbox_formfield
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
checkbox_formfield: ^0.2.0
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:checkbox_formfield/checkbox_formfield.dart';