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: ShapeDecoration(
shape: RoundedSuperellipseBorder(
side: BorderSide(color: colors.border, width: style.borderWidth),
borderRadius: style.borderRadius.md,
),
color: colors.card,
shadows: FTooltipStyle.shadow,
),
padding: const .symmetric(horizontal: 14, vertical: 10),
textStyle: typography.xs,
);