flutter_radio_button_group 0.0.4+5 flutter_radio_button_group: ^0.0.4+5 copied to clipboard
Radio Buttons for people how like to change the Design for their own needs
flutter_radio_button_group #
Radio Buttons for people how like to change the Design for their own needs.
Getting Started #
Example: #
Importing: #
dependencies:
flutter_radio_button_group: ^0.0.2+3
Code Example: #
import 'package:flutter_radio_button_group/flutter_radio_button_group.dart';
class RadioButtonExample extends StatefulWidget {
@override
_RadioButtonExampleState createState() => _RadioButtonExampleState();
}
class _RadioButtonExampleState extends State<RadioButtonExample> {
@override
Widget build(BuildContext context) {
return new Scaffold(
body: new FlutterRadioButtonGroup(
items: [
"Banana",
"Mango",
"Apple",
"Pineapple",
],
onSelected: (String selected) {
print("Selected: $selected");
}),
);
}
}