Container class
Constructors
-
Container({Key? key, required Component child, Color? color, Unit? height, Unit? width, EdgeInsets? padding, EdgeInsets? margin, Styles? style, BorderRadius? borderRadius, JustifyContent? verticalAlign, AlignItems? horizontalAlign, Border? border, BoxShadow? shadow})
-
const
Methods
-
build(BuildContext context)
→ Iterable<Component>
-
Describes the part of the user interface represented by this component.
-
createElement()
→ Element
-
Creates a
StatelessElement to manage this component's location in the tree.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldRebuild(covariant Component newComponent)
→ bool
-
Implement this method to determine whether a rebuild can be skipped.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited