PickerListTileStyle.checkmark constructor

PickerListTileStyle.checkmark({
  1. Color? activeColor,
  2. TextStyle? textStyle,
  3. TextStyle? selectedTextStyle,
  4. EdgeInsetsGeometry? contentPadding,
  5. Color? tileColor,
  6. Color? selectedTileColor,
})

Checkmark style — shows a check icon as the trailing widget when selected.

Implementation

factory PickerListTileStyle.checkmark({
  Color? activeColor,
  TextStyle? textStyle,
  TextStyle? selectedTextStyle,
  EdgeInsetsGeometry? contentPadding,
  Color? tileColor,
  Color? selectedTileColor,
}) {
  return PickerListTileStyle(
    indicator: PickerListTileIndicator.checkmark,
    activeColor: activeColor,
    textStyle: textStyle,
    selectedTextStyle: selectedTextStyle,
    contentPadding: contentPadding,
    tileColor: tileColor,
    selectedTileColor: selectedTileColor,
  );
}