CheckboxStyler class
- Inheritance
-
- Object
- Mixable<
StyleSpec< CheckboxSpec> > - Mix<
StyleSpec< CheckboxSpec> > - Style<
CheckboxSpec> - MixStyler<
CheckboxStyler, CheckboxSpec> - CheckboxStyler
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
CheckboxStyler({BoxStyler? container, IconStyler? indicator, TextStyler? label, double? labelSpacing, RemixBoxEffectsMix? containerEffects, AnimationConfig? animation, WidgetModifierConfig? modifier, List<
VariantStyle< ? variants})CheckboxSpec> > - CheckboxStyler.alignment(AlignmentGeometry value)
-
factory
-
CheckboxStyler.backgroundImage(ImageProvider<
Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) -
factory
- CheckboxStyler.backgroundImageAsset(String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
-
factory
- CheckboxStyler.backgroundImageUrl(String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat})
-
factory
-
CheckboxStyler.border(BoxBorderMix<
BoxBorder> value) -
factory
-
CheckboxStyler.borderRadius(BorderRadiusGeometryMix<
BorderRadiusGeometry> value) -
factory
- CheckboxStyler.clipBehavior(Clip value)
-
factory
- CheckboxStyler.color(Color value)
-
factory
- CheckboxStyler.constraints(BoxConstraintsMix value)
-
factory
- CheckboxStyler.container(BoxStyler value)
-
factory
- CheckboxStyler.containerEffects(RemixBoxEffectsMix value)
-
factory
-
CheckboxStyler.create({Prop<
StyleSpec< ? container, Prop<BoxSpec> >StyleSpec< ? indicator, Prop<IconSpec> >StyleSpec< ? label, Prop<TextSpec> >double> ? labelSpacing, Prop<RemixBoxEffectsSpec> ? containerEffects, List<VariantStyle< ? variants, WidgetModifierConfig? modifier, AnimationConfig? animation})CheckboxSpec> > -
const
-
CheckboxStyler.decoration(DecorationMix<
Decoration> value) -
factory
- CheckboxStyler.elevation(ElevationShadow value)
-
factory
-
CheckboxStyler.foregroundDecoration(DecorationMix<
Decoration> value) -
factory
-
CheckboxStyler.foregroundLinearGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) -
factory
-
CheckboxStyler.foregroundRadialGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) -
factory
-
CheckboxStyler.foregroundSweepGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) -
factory
-
CheckboxStyler.gradient(GradientMix<
Gradient> value) -
factory
- CheckboxStyler.height(double value)
-
factory
- CheckboxStyler.image(DecorationImageMix value)
-
factory
- CheckboxStyler.indicator(IconStyler value)
-
factory
- CheckboxStyler.label(TextStyler value)
-
factory
- CheckboxStyler.labelSpacing(double value)
-
factory
-
CheckboxStyler.linearGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) -
factory
-
CheckboxStyler.margin(EdgeInsetsGeometryMix<
EdgeInsetsGeometry> value) -
factory
- CheckboxStyler.maxHeight(double value)
-
factory
- CheckboxStyler.maxWidth(double value)
-
factory
- CheckboxStyler.minHeight(double value)
-
factory
- CheckboxStyler.minWidth(double value)
-
factory
-
CheckboxStyler.padding(EdgeInsetsGeometryMix<
EdgeInsetsGeometry> value) -
factory
-
CheckboxStyler.radialGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) -
factory
- CheckboxStyler.rotate(double radians, {Alignment alignment = .center})
-
factory
- CheckboxStyler.scale(double scale, {Alignment alignment = .center})
-
factory
- CheckboxStyler.shadow(BoxShadowMix value)
-
factory
-
CheckboxStyler.shadows(List<
BoxShadowMix> value) -
factory
-
CheckboxStyler.shape(ShapeBorderMix<
ShapeBorder> value) -
factory
- CheckboxStyler.size(double width, double height)
-
factory
- CheckboxStyler.skew(double skewX, double skewY)
-
factory
-
CheckboxStyler.sweepGradient({required List<
Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) -
factory
- CheckboxStyler.textStyle(TextStyler value)
-
factory
- CheckboxStyler.transform(Matrix4 value, {Alignment alignment = .center})
-
factory
- CheckboxStyler.translate(double x, double y, [double z = 0.0])
-
factory
- CheckboxStyler.width(double value)
-
factory
Properties
- $animation → AnimationConfig?
-
finalinherited
-
$container
→ Prop<
StyleSpec< ?BoxSpec> > -
final
-
$containerEffects
→ Prop<
RemixBoxEffectsSpec> ? -
final
-
$indicator
→ Prop<
StyleSpec< ?IconSpec> > -
final
-
$label
→ Prop<
StyleSpec< ?TextSpec> > -
final
-
$labelSpacing
→ Prop<
double> ? -
final
- $modifier → WidgetModifierConfig?
-
finalinherited
-
$stylerFieldNames
→ Set<
String> -
Names of every field represented by the Styler's Mix.props.
no setteroverride
-
$variants
→ List<
VariantStyle< ?CheckboxSpec> > -
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) → CheckboxStyler -
animate(
AnimationConfig value) → CheckboxStyler -
Sets the animation configuration.
override
-
applyVariants(
Iterable< NamedVariant> variantsToApply) → CheckboxStyler -
Applies the specified named variants by merging their styles into this style.
inherited
-
backgroundImage(
ImageProvider< Object> image, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CheckboxStyler -
backgroundImageAsset(
String path, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CheckboxStyler -
backgroundImageUrl(
String url, {BoxFit? fit, AlignmentGeometry? alignment, ImageRepeat repeat = .noRepeat}) → CheckboxStyler -
border(
BoxBorderMix< BoxBorder> value) → CheckboxStyler -
override
-
borderRadius(
BorderRadiusGeometryMix< BorderRadiusGeometry> value) → CheckboxStyler -
override
-
build(
BuildContext context, {Set< NamedVariant> namedVariants = const {}}) → StyleSpec<CheckboxSpec> -
Builds the style into a fully resolved spec with metadata.
inherited
-
call(
{Key? key, required bool? selected, ValueChanged< bool?> ? onChanged, bool enabled = true, bool tristate = false, IconData? checkedIcon, IconData? uncheckedIcon, IconData? indeterminateIcon, FocusNode? focusNode, bool autofocus = false, bool enableFeedback = true, String? label, String? semanticLabel, Size minimumTapTargetSize = const Size.square(48), MouseCursor mouseCursor = SystemMouseCursors.click}) → RemixCheckbox -
clipBehavior(
Clip value) → CheckboxStyler -
color(
Color value) → CheckboxStyler -
constraints(
BoxConstraintsMix value) → CheckboxStyler -
override
-
container(
BoxStyler value) → CheckboxStyler - Sets the container.
-
containerEffects(
RemixBoxEffectsMix value) → CheckboxStyler - Sets the containerEffects.
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
decoration(
DecorationMix< Decoration> value) → CheckboxStyler -
override
-
elevation(
ElevationShadow value) → CheckboxStyler -
fillColor(
Color value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
Sets checkbox fill color on the container. -
foregroundDecoration(
DecorationMix< Decoration> value) → CheckboxStyler -
foregroundLinearGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → CheckboxStyler -
foregroundRadialGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? radius, AlignmentGeometry? focal, double? focalRadius, TileMode? tileMode, GradientTransform? transform}) → CheckboxStyler -
foregroundSweepGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → CheckboxStyler -
getDiff(
Equatable other) → Map< String, String> -
Returns a map of properties that differ between this object and another.
inherited
-
gradient(
GradientMix< Gradient> value) → CheckboxStyler -
height(
double value) → CheckboxStyler -
icon(
IconStyler value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconBlendMode(
BlendMode value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconColor(
Color value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconFill(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconGrade(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconOpacity(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconOpticalSize(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconShadow(
ShadowMix value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconShadows(
List< ShadowMix> value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconSize(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconTextDirection(
TextDirection value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
iconWeight(
double value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
image(
DecorationImageMix value) → CheckboxStyler -
indicator(
IconStyler value) → CheckboxStyler - Sets the indicator.
-
indicatorColor(
Color value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
Sets indicator color. -
keyframeAnimation(
{Listenable? trigger, required List< KeyframeTrack> timeline, required KeyframeStyleBuilder<CheckboxSpec, CheckboxStyler> styleBuilder}) → CheckboxStyler -
Creates a keyframe animation. It will animate through the given timeline.
inherited
-
label(
TextStyler value) → CheckboxStyler - Sets the label.
-
labelColor(
Color value) → CheckboxStyler -
Sets label/text color
inherited
-
labelDecoration(
TextDecoration value) → CheckboxStyler -
Sets label/text decoration (underline, strikethrough, etc.)
inherited
-
labelDecorationColor(
Color value) → CheckboxStyler -
Sets label/text decoration color
inherited
-
labelFontFamily(
String value) → CheckboxStyler -
Sets label/text font family
inherited
-
labelFontSize(
double value) → CheckboxStyler -
Sets label/text font size
inherited
-
labelFontStyle(
FontStyle value) → CheckboxStyler -
Sets label/text font style (italic/normal)
inherited
-
labelFontWeight(
FontWeight value) → CheckboxStyler -
Sets label/text font weight
inherited
-
labelHeight(
double value) → CheckboxStyler -
Sets label/text line height
inherited
-
labelLetterSpacing(
double value) → CheckboxStyler -
Sets label/text letter spacing
inherited
-
labelSpacing(
double value) → CheckboxStyler - Sets the labelSpacing.
-
labelStyle(
TextStyleMix value) → CheckboxStyler -
Sets label/text style using TextStyleMix directly
inherited
-
labelWordSpacing(
double value) → CheckboxStyler -
Sets label/text word spacing
inherited
-
linearGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? begin, AlignmentGeometry? end, TileMode? tileMode, GradientTransform? transform}) → CheckboxStyler -
margin(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → CheckboxStyler -
override
-
maxHeight(
double value) → CheckboxStyler -
maxWidth(
double value) → CheckboxStyler -
merge(
covariant CheckboxStyler? other) → CheckboxStyler -
Merges with another CheckboxStyler.
override
-
mergeActiveVariants(
BuildContext context, {required Set< NamedVariant> namedVariants}) → Style<CheckboxSpec> -
Merges all active variants with their nested variants recursively.
inherited
-
minHeight(
double value) → CheckboxStyler -
minWidth(
double value) → CheckboxStyler -
modifier(
WidgetModifierConfig value) → CheckboxStyler - Sets the widget modifier.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAndroid(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for Android platform.
inherited
-
onBreakpoint(
Breakpoint breakpoint, CheckboxStyler style) → CheckboxStyler -
Creates a variant based on the specified breakpoint.
inherited
-
onBuilder(
CheckboxStyler fn(BuildContext context)) → CheckboxStyler -
Creates a variant using a builder function that receives the build context.
inherited
-
onDark(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for dark mode.
inherited
-
onDesktop(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for desktop breakpoint.
inherited
-
onDisabled(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for disabled state
inherited
-
onEnabled(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for enabled state (opposite of disabled)
inherited
-
onFocused(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for focused state.
inherited
-
onFocusVisible(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for focus that should show a focus indicator.
inherited
-
onFuchsia(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for Fuchsia platform.
inherited
-
onHovered(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for hover state
inherited
-
onIndeterminate(
CheckboxStyler value) → CheckboxStyler -
Available on CheckboxStyler, provided by the RemixCheckboxStylerRemixHelpers extension
-
onIos(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for iOS platform.
inherited
-
onLandscape(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for landscape device orientation.
inherited
-
onLight(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for light mode.
inherited
-
onLinux(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for Linux platform.
inherited
-
onLtr(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for left-to-right text direction.
inherited
-
onMacos(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for macOS platform.
inherited
-
onMobile(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for mobile breakpoint.
inherited
-
onNot(
ContextVariant contextVariant, CheckboxStyler style) → CheckboxStyler -
Creates a variant for when the context does NOT match the provided variant.
inherited
-
onPortrait(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for portrait device orientation.
inherited
-
onPressed(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for pressed state
inherited
-
onRtl(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for right-to-left text direction.
inherited
-
onTablet(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for tablet breakpoint.
inherited
-
onWeb(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for web platform.
inherited
-
onWindows(
CheckboxStyler style) → CheckboxStyler -
Creates a variant for Windows platform.
inherited
-
padding(
EdgeInsetsGeometryMix< EdgeInsetsGeometry> value) → CheckboxStyler -
override
-
phaseAnimation<
P> ({Listenable? trigger, required List< P> phases, required CheckboxStyler styleBuilder(P phase, CheckboxStyler style), required CurveAnimationConfig configBuilder(P phase)}) → CheckboxStyler -
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}) → CheckboxStyler -
resolve(
BuildContext context) → StyleSpec< CheckboxSpec> -
Resolves to StyleSpec<CheckboxSpec> using
context.override -
rotate(
double radians, {Alignment alignment = .center}) → CheckboxStyler -
scale(
double scale, {Alignment alignment = .center}) → CheckboxStyler -
shadow(
BoxShadowMix value) → CheckboxStyler -
shadows(
List< BoxShadowMix> value) → CheckboxStyler -
shape(
ShapeBorderMix< ShapeBorder> value) → CheckboxStyler -
override
-
size(
double width, double height) → CheckboxStyler -
skew(
double skewX, double skewY) → CheckboxStyler -
sweepGradient(
{required List< Color> colors, List<double> ? stops, AlignmentGeometry? center, double? startAngle, double? endAngle, TileMode? tileMode, GradientTransform? transform}) → CheckboxStyler -
textStyle(
TextStyler value) → CheckboxStyler -
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}) → CheckboxStyler -
override
-
translate(
double x, double y, [double z = 0.0]) → CheckboxStyler -
variant(
Variant variant, CheckboxStyler style) → CheckboxStyler -
Must be implemented by the class using this mixin
inherited
-
variants(
List< VariantStyle< value) → CheckboxStylerCheckboxSpec> > -
Sets the style variants.
override
-
width(
double value) → CheckboxStyler -
wrap(
WidgetModifierConfig value) → CheckboxStyler -
Wraps with a widget modifier.
override
Operators
-
operator ==(
Object other) → bool -
Overrides the equality operator to compare based on the properties.
inherited