PlatePanel class

The country block: where it sits and how its flag and caption are laid out.

Annotations

Constructors

PlatePanel({required PlateBox box, double flagScale = 1.0, double captionScale = 1.0, EdgeInsets? padding, Axis direction = .vertical, CustomClipper<Path>? shape})
const

Properties

box → PlateBox
final
captionScale → double
final
direction → Axis
Axis.vertical puts the flag above the caption, horizontal beside it.
final
flagScale → double
final
hashCode → int
The hash code for this object.
no setterinherited
padding → EdgeInsets?
Null means a uniform inset of 10% of the panel's height.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shape → CustomClipper<Path>?
Clips the panel to a non-rectangular block. Handed box's size in plate coordinates, returns the shape to keep. Null adds no clip to the tree.
final

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

Constants

none → const PlatePanel
An empty panel, for a spec that sets PlateSpec.noPanel.