FTooltipStyle.inherit constructor
FTooltipStyle.inherit({
- required FColors colors,
- required FTypography typography,
- required FStyle style,
Creates a FTooltipStyle that inherits its properties.
Implementation
FTooltipStyle.inherit({required FColors colors, required FTypography typography, required FStyle style})
: this(
decoration: BoxDecoration(
color: colors.background,
borderRadius: style.borderRadius,
border: Border.all(width: style.borderWidth, color: colors.border),
boxShadow: FTooltipStyle.shadow,
),
textStyle: typography.sm,
);