Area class

Child area in the MultiSplitView.

The area may have a size defined in pixels or flex factor to define the filling of the available space.

The flex has a default value of 1 if the size is null.

The available size will be the size of the widget minus the thickness of the dividers.

Before becoming visible for the first time, the area may be adjusted to resolve the following inconsistencies:

  • If all areas are using size, they will all be converted to use flex.

Constructors

Area({double? size, double? flex, double? min, double? max, dynamic id, dynamic data, AreaWidgetBuilder? builder})

Properties

builder AreaWidgetBuilder?
The widget builder.
getter/setter pair
data ↔ dynamic
Any data associated with the area.
getter/setter pair
flex double?
no setter
hashCode int
The hash code for this object.
no setterinherited
id → dynamic
Used as an internal Key and facilitates reconfiguration of the layout while maintaining the state of the widget. It will never be null and must be unique in the layout.
final
index int
no setter
max double?
The max flex or size.
no setter
min double?
The min flex or size.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double?
Size value in pixels.
no setter

Methods

copyWith({dynamic id, double? size, double? flex, double? min, double? max, dynamic data, AreaWidgetBuilder? builder}) Area
Creates a copy of this Area with the given fields replaced with their.
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