StylesMixin<T> class abstract mixin

Implementers

Constructors

StylesMixin()

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}) → 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, GridGap? 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.
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