StylesMixin<T> class abstract mixin

Implementers

Constructors

StylesMixin.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

background({Color? color, BackgroundAttachment? attachment, BackgroundClip? clip, ImageStyle? image, BackgroundOrigin? origin, BackgroundPosition? position, BackgroundRepeat? repeat, BackgroundSize? size}) → T
Combines the current styles with common background style properties.
box({EdgeInsets? padding, EdgeInsets? margin, Display? display, BoxSizing? boxSizing, Unit? width, Unit? height, Unit? minWidth, Unit? maxWidth, Unit? minHeight, Unit? maxHeight, Border? border, BorderRadius? radius, Outline? outline, Overflow? overflow, Visibility? visibility, Position? position, double? opacity, Transform? transform, BoxShadow? shadow, Cursor? cursor, Transition? transition}) → T
Combines the current styles with common box style properties.
combine(Styles styles) → T
Combines the current styles with another Styles instances.
flexbox({FlexDirection? direction, FlexWrap? wrap, JustifyContent? justifyContent, AlignItems? alignItems, Gap? gap}) → T
Combines the current styles with common flexbox style properties.
flexItem({Flex? flex, int? order, AlignSelf? alignSelf}) → T
Combines the current styles with common flex child properties.
grid({GridTemplate? template, Gap? gap, List<TrackSize>? autoRows, List<TrackSize>? autoColumns}) → T
Combines the current styles with common grid style properties.
gridItem({GridPlacement? placement}) → T
Combines the current styles with common grid child properties.
list({ListStyle? style, ImageStyle? image, ListStylePosition? position}) → T
Combines the current styles with common list style properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
raw(Map<String, String> styles) → T
Combines the current styles with a Map of raw css style properties and values.
styles({String? content, Display? display, Position? position, ZIndex? zIndex, Unit? width, Unit? height, Unit? minWidth, Unit? minHeight, Unit? maxWidth, Unit? maxHeight, Padding? padding, Margin? margin, BoxSizing? boxSizing, Border? border, BorderRadius? radius, Outline? outline, double? opacity, Visibility? visibility, Overflow? overflow, BoxShadow? shadow, Cursor? cursor, UserSelect? userSelect, PointerEvents? pointerEvents, Transition? transition, Transform? transform, FlexDirection? flexDirection, FlexWrap? flexWrap, JustifyContent? justifyContent, AlignItems? alignItems, GridTemplate? gridTemplate, List<TrackSize>? autoRows, List<TrackSize>? autoColumns, Gap? gap, Flex? flex, int? order, AlignSelf? alignSelf, GridPlacement? gridPlacement, ListStyle? listStyle, ImageStyle? listImage, ListStylePosition? listPosition, Color? color, TextAlign? textAlign, FontFamily? fontFamily, Unit? fontSize, FontWeight? fontWeight, FontStyle? fontStyle, TextDecoration? textDecoration, TextTransform? textTransform, Unit? textIndent, Unit? letterSpacing, Unit? wordSpacing, Unit? lineHeight, TextShadow? textShadow, TextOverflow? textOverflow, WhiteSpace? whiteSpace, Color? backgroundColor, ImageStyle? backgroundImage, BackgroundOrigin? backgroundOrigin, BackgroundPosition? backgroundPosition, BackgroundAttachment? backgroundAttachment, BackgroundRepeat? backgroundRepeat, BackgroundSize? backgroundSize, BackgroundClip? backgroundClip, Map<String, String>? raw}) → T
text({Color? color, TextAlign? align, FontFamily? fontFamily, FontStyle? fontStyle, Unit? fontSize, FontWeight? fontWeight, TextDecoration? decoration, TextTransform? transform, Unit? indent, Unit? letterSpacing, Unit? wordSpacing, Unit? lineHeight, TextShadow? shadow, TextOverflow? overflow, WhiteSpace? whiteSpace}) → T
Combines the current styles with common text-related style properties.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited