SingleSelectBlob<T> constructor

const SingleSelectBlob<T>(
  1. {Key? key,
  2. Icon? checkedIndicator,
  3. required Map<String, T> items,
  4. required String initialSelected,
  5. required void onSelected(
    1. T selected
    ),
  6. bool wrap = true}
)

Implementation

const SingleSelectBlob(
    {super.key,
    Icon? checkedIndicator,
    required this.items,
    required this.initialSelected,
    required this.onSelected,
    this.wrap = true})
    : checkedIndicator =
          checkedIndicator ?? const Icon(Icons.check_rounded);