attributes library Null safety

Properties

align AlignmentUtility
Aligment
final
alignBC AlignmentAttribute
final
alignBL AlignmentAttribute
final
alignBR AlignmentAttribute
final
alignC AlignmentAttribute
final
alignCL AlignmentAttribute
final
alignCR AlignmentAttribute
final
alignTC AlignmentAttribute
final
alignTL AlignmentAttribute
final
alignTR AlignmentAttribute
final
bg BackgroundColorAttribute Function(Color color)
final
boxShadow BoxShadowUtility
final
center AlignmentAttribute
final
expanded FlexFitAttribute
Expand
final
fit FittedUtility
Fitting
final
flexible FlexFitAttribute
Flexible
final
rotate90 RotateAttribute
Rotate widget 90 degrees
final
rotate180 RotateAttribute
Rotate widget 180 degrees
final
rotate270 RotateAttribute
Rotate widget 270 degrees
final
rotate360 RotateAttribute
Rotate widget 360 degrees
final
rounded BorderRadiusAttribute Function([double? p1, double? p2, double? p3, double? p4])
Decoration Border radius
final
s BoxShadowUtility
final
sc ShadowColorAttribute Function(Color color)
final
shadow BoxShadowUtility
final
tc TextColorAttribute Function(Color color)
final

Functions

backgroundColor(Color color) BackgroundColorAttribute
Background color attribute
borderColor(Color color) BorderAttribute
Border color for all borde sides
borderStyle(BorderStyle style) BorderAttribute
Border style for all border sides
borderWidth(double width) BorderAttribute
Border width for all border sides
flex([int flex = 1]) FlexAttribute
Flex
gap(double size) GapAttribute
h(double size) HeightAttribute
Constraints Height
hide(bool condition) HideAttribute
Hide attribute
m(double space) MarginAttribute
Margin all
maxH(double size) MaxHeightAttribute
Max height attribute
maxW(double size) MaxWidthAttribute
Max width attribute
mb(double space) MarginAttribute
Margin bottom
minH(double size) MinHeightAttribute
Min height attribute
minW(double size) MinWidthAttribute
Min width attribute
ml(double space) MarginAttribute
Margin left
mr(double space) MarginAttribute
Margin right
mt(double space) MarginAttribute
Margin top
mx(double space) MarginAttribute
Margin horizontal
my(double space) MarginAttribute
Margin verttical
opacity(double opacity) OpacityAttribute
Opacity
p(double space) PaddingAttribute
Padding all
pb(double space) PaddingAttribute
Padding bottom
pl(double space) PaddingAttribute
Padding left
pr(double space) PaddingAttribute
Padding right
pt(double space) PaddingAttribute
Padding top
px(double space) PaddingAttribute
Padding horizontal
py(double space) PaddingAttribute
Padding verttical
rotate(int quarterTurns) RotateAttribute
Rotate widget
roundedBL(double radius) BorderRadiusAttribute
roundedBR(double radius) BorderRadiusAttribute
roundedTL(double radius) BorderRadiusAttribute
roundedTR(double radius) BorderRadiusAttribute
shadowColor(Color color) ShadowColorAttribute
Shadow color attribute
textColor(Color color) TextColorAttribute
Text color attribute
w(double size) WidthAttribute
Width