Skip to content

Radio List Tile

Radio List Tile demo

A representation of Radio Buttons.

NikuRadioListTile accepts all the props as same as RadioListTile.

dart
// Using namespace
n.RadioListTile(true);

// Using Niku Prefix
NikuRadioListTile(true);

Example Usage

dart
n.RadioListTile(state)
    ..onChanged = updateState
    ..title = "Waltz of the Flowers".n
    ..subtitle = "Pyotr Ilyich Tchaikovsky".n;

Set active color

dart
n.RadioListTile(state)
    ..isDense
    ..onChanged = updateState
    ..title = "Waltz of the Flowers".n
    ..subtitle = "Pyotr Ilyich Tchaikovsky".n
    ..activeColor = Colors.blue
    ..titleColor = Colors.blue.shade100
    ..selectedTileColor = Colors.blue.shade400;

Defination

View Defination on pub.dev