CalloutStyler class

Inheritance
Implemented types
Mixed-in types
Available extensions

Constructors

CalloutStyler({FlexBoxStyler? container, TextStyler? text, IconStyler? icon, RemixBoxEffectsMix? containerEffects, AnimationConfig? animation, WidgetModifierConfig? modifier, List<VariantStyle<CalloutSpec>>? variants})
CalloutStyler.alignment(AlignmentGeometry value)
factory
CalloutStyler.backgroundImage(ImageProvider<Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
factory
CalloutStyler.backgroundImageAsset(String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
factory
CalloutStyler.backgroundImageUrl(String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
factory
CalloutStyler.border(BoxBorderMix<BoxBorder> value)
factory
CalloutStyler.borderRadius(BorderRadiusGeometryMix<BorderRadiusGeometry> value)
factory
CalloutStyler.clipBehavior(Clip value)
factory
CalloutStyler.color(Color value)
factory
CalloutStyler.column()
factory
CalloutStyler.constraints(BoxConstraintsMix value)
factory
CalloutStyler.container(FlexBoxStyler value)
factory
CalloutStyler.containerEffects(RemixBoxEffectsMix value)
factory
CalloutStyler.create({Prop<StyleSpec<FlexBoxSpec>>? container, Prop<StyleSpec<TextSpec>>? text, Prop<StyleSpec<IconSpec>>? icon, Prop<RemixBoxEffectsSpec>? containerEffects, List<VariantStyle<CalloutSpec>>? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})
const
CalloutStyler.crossAxisAlignment(CrossAxisAlignment value)
factory
CalloutStyler.decoration(DecorationMix<Decoration> value)
factory
CalloutStyler.direction(Axis value)
factory
CalloutStyler.elevation(ElevationShadow value)
factory
CalloutStyler.foregroundDecoration(DecorationMix<Decoration> value)
factory
CalloutStyler.foregroundLinearGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.foregroundRadialGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.foregroundSweepGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.gradient(GradientMix<Gradient> value)
factory
CalloutStyler.height(double value)
factory
CalloutStyler.icon(IconStyler value)
factory
CalloutStyler.image(DecorationImageMix value)
factory
CalloutStyler.linearGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.mainAxisAlignment(MainAxisAlignment value)
factory
CalloutStyler.mainAxisSize(MainAxisSize value)
factory
CalloutStyler.margin(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value)
factory
CalloutStyler.maxHeight(double value)
factory
CalloutStyler.maxWidth(double value)
factory
CalloutStyler.minHeight(double value)
factory
CalloutStyler.minWidth(double value)
factory
CalloutStyler.padding(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value)
factory
CalloutStyler.radialGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.rotate(double radians, {Alignment alignment = .center})
factory
CalloutStyler.row()
factory
CalloutStyler.scale(double scale, {Alignment alignment = .center})
factory
CalloutStyler.shadow(BoxShadowMix value)
factory
CalloutStyler.shadows(List<BoxShadowMix> value)
factory
CalloutStyler.shape(ShapeBorderMix<ShapeBorder> value)
factory
CalloutStyler.size(double width, double height)
factory
CalloutStyler.skew(double skewX, double skewY)
factory
CalloutStyler.spacing(double value)
factory
CalloutStyler.sweepGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform})
factory
CalloutStyler.text(TextStyler value)
factory
CalloutStyler.textBaseline(TextBaseline value)
factory
CalloutStyler.textDirection(TextDirection value)
factory
CalloutStyler.textStyle(TextStyler value)
factory
CalloutStyler.transform(Matrix4 value, {Alignment alignment = .center})
factory
CalloutStyler.translate(double x, double y, [double z = 0.0])
factory
CalloutStyler.verticalDirection(VerticalDirection value)
factory
CalloutStyler.width(double value)
factory

Properties

$animation → AnimationConfig?
finalinherited
$container → Prop<StyleSpec<FlexBoxSpec>>?
final
$containerEffects → Prop<RemixBoxEffectsSpec>?
final
$icon → Prop<StyleSpec<IconSpec>>?
final
$modifier → WidgetModifierConfig?
finalinherited
$stylerFieldNames → Set<String>
Names of every field represented by the Styler's Mix.props.
no setteroverride
$text → Prop<StyleSpec<TextSpec>>?
final
$variants → List<VariantStyle<CalloutSpec>>?
finalinherited
hashCode → int
Overrides the hash code getter to compute hash code based on properties.
no setterinherited
mergeKey → Object
Default implementation uses runtimeType as the merge key
no setterinherited
props → List<Object?>
The properties based on which equality and hash code are computed.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool
Whether to use a detailed string representation of the object.
no setterinherited

Methods

alignment(AlignmentGeometry value) → CalloutStyler
animate(AnimationConfig value) → CalloutStyler
Sets the animation configuration.
override
applyVariants(Iterable<NamedVariant> variantsToApply) → CalloutStyler
Applies the specified named variants by merging their styles into this style.
inherited
backgroundImage(ImageProvider<Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CalloutStyler
backgroundImageAsset(String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CalloutStyler
backgroundImageUrl(String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CalloutStyler
border(BoxBorderMix<BoxBorder> value) → CalloutStyler
override
borderRadius(BorderRadiusGeometryMix<BorderRadiusGeometry> value) → CalloutStyler
override
build(BuildContext context, {Set<NamedVariant> namedVariants = const {}}) → StyleSpec<CalloutSpec>
Builds the style into a fully resolved spec with metadata.
inherited
call({Key? key, String? text, IconData? icon, Widget? child}) → RemixCallout
clipBehavior(Clip value) → CalloutStyler
color(Color value) → CalloutStyler
column() → CalloutStyler
constraints(BoxConstraintsMix value) → CalloutStyler
override
container(FlexBoxStyler value) → CalloutStyler
Sets the container.
containerEffects(RemixBoxEffectsMix value) → CalloutStyler
Sets the containerEffects.
contentTextStyle(TextStyleMix value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

Sets the callout content text style.
crossAxisAlignment(CrossAxisAlignment value) → CalloutStyler
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
decoration(DecorationMix<Decoration> value) → CalloutStyler
override
direction(Axis value) → CalloutStyler
elevation(ElevationShadow value) → CalloutStyler
fontFamily(String value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

fontSize(double value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

fontStyle(FontStyle value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

fontWeight(FontWeight value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

foregroundDecoration(DecorationMix<Decoration> value) → CalloutStyler
foregroundLinearGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
foregroundRadialGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
foregroundSweepGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
getDiff(Equatable other) → Map<String, String>
Returns a map of properties that differ between this object and another.
inherited
gradient(GradientMix<Gradient> value) → CalloutStyler
height(double value) → CalloutStyler
icon(IconStyler value) → CalloutStyler
Sets the icon.
iconBlendMode(BlendMode value) → CalloutStyler
Sets icon blend mode
inherited
iconColor(Color value) → CalloutStyler
Sets icon color
inherited
iconFill(double value) → CalloutStyler
Sets icon fill (useful for Material Icons filled variants)
inherited
iconGrade(double value) → CalloutStyler
Sets icon grade (useful for Material Icons)
inherited
iconOpacity(double value) → CalloutStyler
Sets icon opacity
inherited
iconOpticalSize(double value) → CalloutStyler
Sets icon optical size (useful for Material Icons)
inherited
iconShadow(ShadowMix value) → CalloutStyler
Sets single icon shadow
inherited
iconShadows(List<ShadowMix> value) → CalloutStyler
Sets icon shadows
inherited
iconSize(double value) → CalloutStyler
Sets icon size
inherited
iconTextDirection(TextDirection value) → CalloutStyler
Sets icon text direction
inherited
iconWeight(double value) → CalloutStyler
Sets icon weight (useful for variable icons like Material Symbols)
inherited
image(DecorationImageMix value) → CalloutStyler
keyframeAnimation({Listenable? trigger, required List<KeyframeTrack> timeline, required KeyframeStyleBuilder<CalloutSpec, CalloutStyler> styleBuilder}) → CalloutStyler
Creates a keyframe animation. It will animate through the given timeline.
inherited
letterSpacing(double value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

linearGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
mainAxisAlignment(MainAxisAlignment value) → CalloutStyler
mainAxisSize(MainAxisSize value) → CalloutStyler
margin(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value) → CalloutStyler
override
maxHeight(double value) → CalloutStyler
maxWidth(double value) → CalloutStyler
merge(covariant CalloutStyler? other) → CalloutStyler
Merges with another CalloutStyler.
override
mergeActiveVariants(BuildContext context, {required Set<NamedVariant> namedVariants}) → Style<CalloutSpec>
Merges all active variants with their nested variants recursively.
inherited
minHeight(double value) → CalloutStyler
minWidth(double value) → CalloutStyler
modifier(WidgetModifierConfig value) → CalloutStyler
Sets the widget modifier.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAndroid(CalloutStyler style) → CalloutStyler
Creates a variant for Android platform.
inherited
onBreakpoint(Breakpoint breakpoint, CalloutStyler style) → CalloutStyler
Creates a variant based on the specified breakpoint.
inherited
onBuilder(CalloutStyler fn(BuildContext context)) → CalloutStyler
Creates a variant using a builder function that receives the build context.
inherited
onDark(CalloutStyler style) → CalloutStyler
Creates a variant for dark mode.
inherited
onDesktop(CalloutStyler style) → CalloutStyler
Creates a variant for desktop breakpoint.
inherited
onDisabled(CalloutStyler style) → CalloutStyler
Creates a variant for disabled state
inherited
onEnabled(CalloutStyler style) → CalloutStyler
Creates a variant for enabled state (opposite of disabled)
inherited
onFocused(CalloutStyler style) → CalloutStyler
Creates a variant for focused state.
inherited
onFocusVisible(CalloutStyler style) → CalloutStyler
Creates a variant for focus that should show a focus indicator.
inherited
onFuchsia(CalloutStyler style) → CalloutStyler
Creates a variant for Fuchsia platform.
inherited
onHovered(CalloutStyler style) → CalloutStyler
Creates a variant for hover state
inherited
onIos(CalloutStyler style) → CalloutStyler
Creates a variant for iOS platform.
inherited
onLandscape(CalloutStyler style) → CalloutStyler
Creates a variant for landscape device orientation.
inherited
onLight(CalloutStyler style) → CalloutStyler
Creates a variant for light mode.
inherited
onLinux(CalloutStyler style) → CalloutStyler
Creates a variant for Linux platform.
inherited
onLtr(CalloutStyler style) → CalloutStyler
Creates a variant for left-to-right text direction.
inherited
onMacos(CalloutStyler style) → CalloutStyler
Creates a variant for macOS platform.
inherited
onMobile(CalloutStyler style) → CalloutStyler
Creates a variant for mobile breakpoint.
inherited
onNot(ContextVariant contextVariant, CalloutStyler style) → CalloutStyler
Creates a variant for when the context does NOT match the provided variant.
inherited
onPortrait(CalloutStyler style) → CalloutStyler
Creates a variant for portrait device orientation.
inherited
onPressed(CalloutStyler style) → CalloutStyler
Creates a variant for pressed state
inherited
onRtl(CalloutStyler style) → CalloutStyler
Creates a variant for right-to-left text direction.
inherited
onTablet(CalloutStyler style) → CalloutStyler
Creates a variant for tablet breakpoint.
inherited
onWeb(CalloutStyler style) → CalloutStyler
Creates a variant for web platform.
inherited
onWindows(CalloutStyler style) → CalloutStyler
Creates a variant for Windows platform.
inherited
padding(EdgeInsetsGeometryMix<EdgeInsetsGeometry> value) → CalloutStyler
override
phaseAnimation<P>({Listenable? trigger, required List<P> phases, required CalloutStyler styleBuilder(P phase, CalloutStyler style), required CurveAnimationConfig configBuilder(P phase)}) → CalloutStyler
Creates a phase animation. It will animate through the given phases.
inherited
radialGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
resolve(BuildContext context) → StyleSpec<CalloutSpec>
Resolves to StyleSpec<CalloutSpec> using context.
override
rotate(double radians, {Alignment alignment = .center}) → CalloutStyler
row() → CalloutStyler
scale(double scale, {Alignment alignment = .center}) → CalloutStyler
shadow(BoxShadowMix value) → CalloutStyler
shadows(List<BoxShadowMix> value) → CalloutStyler
shape(ShapeBorderMix<ShapeBorder> value) → CalloutStyler
override
size(double width, double height) → CalloutStyler
skew(double skewX, double skewY) → CalloutStyler
spacing(double value) → CalloutStyler
sweepGradient({required List<Color> colors, List<double>? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → CalloutStyler
text(TextStyler value) → CalloutStyler
Sets the text.
textBaseline(TextBaseline value) → CalloutStyler
textColor(Color value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

textDecoration(TextDecoration value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

textDecorationColor(Color value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

textDirection(TextDirection value) → CalloutStyler
textHeight(double value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

textStyle(TextStyler value) → CalloutStyler
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
transform(Matrix4 value, {Alignment alignment = .center}) → CalloutStyler
override
translate(double x, double y, [double z = 0.0]) → CalloutStyler
variant(Variant variant, CalloutStyler style) → CalloutStyler
Must be implemented by the class using this mixin
inherited
variants(List<VariantStyle<CalloutSpec>> value) → CalloutStyler
Sets the style variants.
override
verticalDirection(VerticalDirection value) → CalloutStyler
width(double value) → CalloutStyler
wordSpacing(double value) → CalloutStyler

Available on CalloutStyler, provided by the RemixCalloutStylerRemixHelpers extension

wrap(WidgetModifierConfig value) → CalloutStyler
Wraps with a widget modifier.
override

Operators

operator ==(Object other) → bool
Overrides the equality operator to compare based on the properties.
inherited