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

Overview

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.

You might also like...

Dart duration iso parser - Package to parse duration from ISO 8601 string

duration_iso_parser Package for parsing ISO 8601 durations string to the Duratio

Jan 18, 2022

Zooper flutter encoding utf16 - Helper classes to encode and decode UTF16 string to List

zooper_flutter_encoding_utf16 Helper classes to encode and decode UTF16 string t

Feb 10, 2022

A Flutter package providing an easy way to add floating ribbon to images.

A Flutter package providing an easy way to add floating ribbon to images.

Floating Ribbon A new Flutter package for creating floating ribbons on images. Dependency dependencies: floating_ribbon: any How To Use In order to

Sep 26, 2022

Parallax - A parallax package for touch-based devices, providing a visually appealing user experience

Parallax - A parallax package for touch-based devices, providing a visually appealing user experience

Parallax A parallax package for touch-based devices, providing a visually appeal

Sep 28, 2022

FIDL(Flutter Interface Definition Language) is a language for transfer objects cross platforms.

FIDL(Flutter Interface Definition Language) is a language for transfer objects cross platforms.

Flutter Interface Definition Language (FIDL) README in English(TODO) FIDL 即 Flutter 接口定义语言,类似于AIDL(Android Interface Definition Language)。您可以利用它定义不同平台

Dec 7, 2022

A cached Flutter ImageProvider for Firebase Cloud Storage image objects

🔥 Firebase Image Provider A cached Flutter ImageProvider for Firebase Cloud Sto

Nov 2, 2022

A highly customizable Flutter widget to render and interact with JSON objects.

A highly customizable Flutter widget to render and interact with JSON objects.

The spreadsheet with superpowers ✨ ! JSON Data Explorer A highly customizable widget to render and interact with JSON objects. Features Expand and col

Dec 21, 2022

Value listenable test - Assists in testing ValueListenable objects (ex: ValueNotifier).

value_listenable_test Assists in testing ValueListenable objects (ex: ValueNotifier). install Added in your pubspec.yaml as dev dependency: dev_depend

Feb 23, 2022
Owner
Ashok Kumar Verma
A passionate developer with an experience of 4+ years in development. 1. Android app development 2. Web development 3. Industry Automation
Ashok Kumar Verma
Swipeable button view - Create Ripple Animated Pages With Swipeable Button View

swipeable_button_view You can create ripple animated pages with swipeable_button

cemreonur 3 Apr 22, 2022
A radio button widget for flutter that supports custom builders and a variable number of animations.

custom_radio An animatable radio button that can be customized to the max. I found it strange that flutter only provides two radio widgets: Radio and

Conrad Heidebrecht 37 Dec 28, 2022
A flutter package that helps you create an on-boarding screen for your project within minutes just by providing a few parameters.

A flutter package that helps you create an on-boarding screen for your project within minutes just by providing a few parameters.

Sachin Kr. Shukla 40 Sep 27, 2022
This library allows you to create editable tables and spreadsheets with ease, either by providing initial row and column count to display an empty table or use it with predefined rows and column data sets.

Editable ⚡️ A highly customizable, editable table package for Flutter projects. Specs This package allows you to create editable tables and spreadshee

Godwin Asuquo 94 Dec 7, 2022
This is a radio app where you can ask Alan AI to play some music.

AI-Powered Voice Assistant Flutter Radio App This is a radio app where you can ask Alan AI to play some music. Alan AI: https://voice.alan.app/MTechVi

Pawann Kumaarr 211 Jan 3, 2023
A package of pre-built `TextInputFormatter` objects

text_formatters A package of pre-built TextInputFormatter objects to use with Flutter's TextField or TextFormField widgets. Formatters UppercaseInputF

CodeGrue 4 Jul 24, 2020
An all-in-one Fllutter package for state management, reactive objects, animations, effects, timed widgets etc.

Frideos An all-in-one package for state management, streams and BLoC pattern, animations and timed widgets, effects. Contents 1. State management Gett

Francesco Mineo 188 Dec 23, 2022
A Flutter package to create a nice circular menu using a Floating Action Button.

FAB Circular Menu A Flutter package to create a nice circular menu using a Floating Action Button. Inspired by Mayur Kshirsagar's great FAB Microinter

Mariano Cordoba 198 Jan 5, 2023
Simple flutter package to load and search string.

flutter_text_viewer flutter_text_viewer is a simple text viewer package to load and search text from assets,file. Demo Features Load text from assets/

Kunchok Tashi 3 Dec 15, 2022
A Dart package that constantly writes a string to an IOSink, simillarly to the UNIX yes utility.

yes A Dart package that constantly writes a string to an IOSink, simillarly to the UNIX yes utility. Usage // Write to stdout for 5 seconds. final con

null 0 Sep 22, 2022