INNER CODE UNIT · Dart

YYRadioListTileState

YYFlutter/flutter-custom-dialog · lib/flutter_custom_dialog_widget.dart:31

class YYRadioListTileState extends State<YYRadioListTile> {
  var groupId = -1;

  void intialSelectedItem() {
    //intialValue:
    //The button initializes the position.
    //If it is not filled, it is not selected.
    if (groupId == -1) {
      groupId = widget.intialValue ?? -1;
    }
  }

  @override
  Widget build(BuildContext context) {
    intialSelectedItem();

    return ListView.builder(
      padding: EdgeInsets.all(0.0),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…