ZoomControlsTheme class
Constructors
-
ZoomControlsTheme({double width = 128.0, double height = 32.0, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(3.0)), List<
BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.25), offset: Offset(0.0, 1.0))], EdgeInsets padding = const EdgeInsets.all(3.5), double buttonRowWidth = 64.0, Icon zoomOutIcon = const Icon(Icons.zoom_out), Icon zoomInIcon = const Icon(Icons.zoom_in), double distanceToBorder = 8.0, Alignment alignment = Alignment.bottomCenter}) -
const
Properties
- alignment → Alignment
-
The zoom controls' alignment.
final
- borderRadius → BorderRadius
-
The border radius of the zoom controls.
final
-
The width of the zoom controls' button row.
final
- distanceToBorder → double
-
The zoom controls' distance to the manual widget tester's border.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The height of the zoom controls.
final
- padding → EdgeInsets
-
The padding of the zoom controls.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadow
→ List<
BoxShadow> -
The shadow(s) of the zoom controls.
final
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - width → double
-
The width of the zoom controls.
final
- zoomInIcon → Icon
-
The icon on the zoom controls' zoom in button.
final
- zoomOutIcon → Icon
-
The icon on the zoom controls' zoom out button.
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