fallback static method
A default value style of ZeroTooltipStyle
Implementation
static ZeroTooltipStyle fallback({
Color? lightColor,
Color? darkColor,
Color? borderColor,
}) =>
ZeroTooltipStyle(
lightBackgroundColor: lightColor ?? ZeroColors.white,
darkBackgroundColor: darkColor ?? ZeroColors.neutral[10],
textStyle: const TextStyle(fontSize: 12),
borderColor: borderColor ?? ZeroColors.neutral[2],
duration: const Duration(seconds: 2),
);