SingleSelectItem constructor

SingleSelectItem({
  1. Key? key,
  2. required String title,
  3. required bool isSelected,
  4. dynamic onSelected()?,
  5. Widget buildItem(
    1. bool selected,
    2. String title
    )?,
  6. bool isCenter = true,
  7. bool isDisabled = false,
})

Implementation

SingleSelectItem({Key? key, required this.title, required this.isSelected, this.onSelected, this.buildItem, this.isCenter = true, this.isDisabled = false}) : super(key: key);