custom_radio_group_list 1.0.0 copy "custom_radio_group_list: ^1.0.0" to clipboard
custom_radio_group_list: ^1.0.0 copied to clipboard

outdated

Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map..

Custom Radio Group List #

Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map.

Features #

  1. Radio list can be generated using a String list
  2. Radio List can be generated using list of any Map object.
  3. Selected item(String/Object) can be marked checked
  4. List can be marked disabled so that user cannot change its value.
  5. Scroll direction can be set to horizontal as well as vertical
  6. TextSize and TextColor can be customized

[A Sample image to display list of radio button]

[A sample image to display value of selected object.]

Getting started #

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

custom_radio_group_list: ^1.0.0

Import it to each file you use it in:

import 'package:custom_radio_group_list/custom_radio_group_list.dart';

Usage #

Example 1 #

This example is very basic which uses list of string

RadioGroup( radioList: sampleListString, selectedItem: 1, onChanged: (value) { print('Value : ${value}'); }, disabled: true)

Example 2 #

This example shows use of Map object list to display radio group list.

     RadioGroup(
                radioListObject: sampleList,
                textParameterName: 'data',
                selectedItem: 1,
                onChanged: (value) {
                print('Value : ${value}');
                } )

Sample #

Please clone repository from

https://github.com/ashokv1337/custom_radio_group_list

Go to example folder and see the sample implementation.

Additional information #

Feel Free to report any issue and feature.

15
likes
0
points
278
downloads

Publisher

verified publisherintouchsofts.com

Weekly Downloads

Flutter package to create list of radio button, by providing a list of objects it can be a String list or list of Map..

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on custom_radio_group_list