FToasterStyle.inherit constructor
FToasterStyle.inherit({
- required FColors colors,
- required FTypography typography,
- required FStyle style,
- required bool touch,
Creates a FToasterStyle that inherits its properties.
Implementation
new inherit({required FColors colors, required FTypography typography, required FStyle style, required bool touch})
: this(
toastStyles: .inherit(colors: colors, typography: typography, style: style, touch: touch),
toastAlignment: touch ? .topCenter : .bottomEnd,
);