Skip to content
On this page

Radio List Tile

Radio List Tile demo

A representation of Radio Buttons.

NikuRadioListTile accepts all the props as same as RadioListTile.

// Using namespace
n.RadioListTile(true);

// Using Niku Prefix
NikuRadioListTile(true);

Example Usage

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

Set active color

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