TabularLegendLayout class
Layout legend entries in tabular format.
- Implemented types
Constructors
- TabularLegendLayout.horizontalFirst({int? desiredMaxColumns, EdgeInsets? cellPadding})
-
Layout horizontally until columns exceed
desiredMaxColumns
.factory - TabularLegendLayout.verticalFirst({int? desiredMaxRows, EdgeInsets? cellPadding})
-
Layout vertically, until rows exceed
desiredMaxRows
.factory
Properties
- cellPadding → EdgeInsets?
-
final
- desiredMaxColumns → int
-
final
- desiredMaxRows → int
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isHorizontalFirst → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BuildContext context, List< Widget> legendEntries) → Widget -
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.
override
Constants
- defaultCellPadding → const EdgeInsets
- Default EdgeInsets for padding rows to the max column count