radio_button_form_field 0.0.2 radio_button_form_field: ^0.0.2 copied to clipboard
A Flutter Package to create radio buttons as FormFields, each contained in a ListTile with the button as the Leading Widget.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add radio_button_form_field
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
radio_button_form_field: ^0.0.2
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:radio_button_form_field/radio_button_form_field.dart';