FRawItemContentStyle.inherit constructor
FRawItemContentStyle.inherit({
- required FColors colors,
- required FTypography typography,
Creates a FRawItemContentStyle that inherits its properties.
Implementation
FRawItemContentStyle.inherit({required FColors colors, required FTypography typography})
: this(
prefixIconStyle: FWidgetStateMap({
WidgetState.disabled: IconThemeData(color: colors.disable(colors.primary), size: 15),
WidgetState.any: IconThemeData(color: colors.primary, size: 15),
}),
childTextStyle: FWidgetStateMap({
WidgetState.disabled: typography.sm.copyWith(color: colors.disable(colors.primary)),
WidgetState.any: typography.sm,
}),
);