Container class
A widget to wrap multiple widgets as children. An implementation of
<div />
.
- Inheritance
-
- Object
- Widget
- FrameworkWidget
- Container
Constructors
-
Container(List<
Widget> children, {EventListener? onPointerDown, EventListener? onPointerUp, EventListener? onPointerEnter, EventListener? onPointerLeave, EventListener? onPress, Style? style, Animation? animation, String? key}) -
const
Properties
- animation → Animation?
-
finalinherited
-
children
→ List<
Widget> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Keys are used in distinguishing unique widgets in the diffing process. It
also can be used to perform animations on a widget on every rebuild.
finalinherited
- onPointerDown → EventListener?
-
finalinherited
- onPointerEnter → EventListener?
-
finalinherited
- onPointerLeave → EventListener?
-
finalinherited
- onPointerUp → EventListener?
-
finalinherited
- onPress → EventListener?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → Style?
-
finalinherited
Methods
-
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