fallback static method

ZeroListTileStyle fallback({
  1. Color? selectedColor,
  2. Color? hoverColor,
  3. Color? backgroundColor,
  4. Color? dividerColor,
  5. TextStyle? titleStyle,
  6. TextStyle? smallTitleStyle,
  7. TextStyle? subTitleStyle,
  8. TextStyle? smallSubTitleStyle,
})

Return default styles

Implementation

static ZeroListTileStyle fallback({
  Color? selectedColor,
  Color? hoverColor,
  Color? backgroundColor,
  Color? dividerColor,
  TextStyle? titleStyle,
  TextStyle? smallTitleStyle,
  TextStyle? subTitleStyle,
  TextStyle? smallSubTitleStyle,
}) =>
    ZeroListTileStyle(
      selectedColor: selectedColor,
      hoverColor: hoverColor,
      backgroundColor: backgroundColor,
      dividerColor: dividerColor,
      titleTextStyle: titleStyle ??
          TextStyle(color: ZeroColors.neutral[10], fontSize: 16),
      subTitleTextStyle: subTitleStyle ??
          TextStyle(color: ZeroColors.neutral[7], fontSize: 14),
      contentPadding:
          const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
      smallContentPadding:
          const EdgeInsets.symmetric(vertical: 8, horizontal: 16),
      smallTitleTextStyle: smallTitleStyle ??
          TextStyle(color: ZeroColors.neutral[10], fontSize: 14),
      smallSubTitleTextStyle: smallTitleStyle ??
          TextStyle(color: ZeroColors.neutral[7], fontSize: 12),
    );