BoxAttributes class Attributes
Widget:
Constructors
-
BoxAttributes({EdgeInsetsDto? margin, EdgeInsetsDto? padding, AlignmentGeometry? alignment, BorderDto? border, BorderRadiusDto? borderRadius, Color? color, List<
BoxShadowDto> ? boxShadow, double? height, double? width, double? maxHeight, double? minHeight, double? maxWidth, double? minWidth, BoxShape? shape, Matrix4? transform, Gradient? gradient}) -
const
Properties
- alignment → AlignmentGeometry?
-
final
- border → BorderDto?
-
final
- borderRadius → BorderRadiusDto?
-
final
-
boxShadow
→ List<
BoxShadowDto> ? -
final
- color → Color?
-
final
- gradient → Gradient?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double?
-
final
- margin → EdgeInsetsDto?
-
final
- maxHeight → double?
-
final
- maxWidth → double?
-
final
- minHeight → double?
-
final
- minWidth → double?
-
final
- padding → EdgeInsetsDto?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → BoxShape?
-
final
- transform → Matrix4?
-
final
- width → double?
-
final
Methods
-
copyWith(
{EdgeInsetsDto? margin, EdgeInsetsDto? padding, AlignmentGeometry? alignment, double? height, double? width, Color? color, BorderDto? border, BorderRadiusDto? borderRadius, List< BoxShadowDto> ? boxShadow, Matrix4? transform, double? maxHeight, double? minHeight, double? maxWidth, double? minWidth, BoxShape? shape, Gradient? gradient}) → BoxAttributes -
merge(
BoxAttributes? box) → BoxAttributes -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override