ContainerModifier class
WidgetModifier for Container widget.
- Implemented types
Constructors
- ContainerModifier({Key? key, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, Matrix4? transform, AlignmentGeometry? transformAlignment, Clip clipBehavior = Clip.none})
Properties
- alignment → AlignmentGeometry?
-
final
- clipBehavior → Clip
-
final
- color → Color?
-
final
- constraints ↔ BoxConstraints?
-
getter/setter pair
- decoration → Decoration?
-
final
- foregroundDecoration → Decoration?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
getter/setter pair
- key ↔ Key?
-
getter/setter pair
- margin → EdgeInsetsGeometry?
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform → Matrix4?
-
final
- transformAlignment → AlignmentGeometry?
-
final
- width ↔ double?
-
getter/setter pair
Methods
-
body(
Widget content) → Container -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited