ToolBuilder<T> class abstract

Inheritance
Implementers

Constructors

ToolBuilder({Key? key, ToolVisibility visibility = ToolVisibility.always, ValueNotifier<T>? toolValue, Widget? icon(T? param) = _null<Widget>, IconData? iconData(T? param) = _null<IconData>, String? text(T? param) = _null<String>, bool enabled(T? param) = _true, bool hidden(T? param) = _false, String? tooltip(T? param) = _null<String>, void onPressed(T? param)?})
const

Properties

alignment → Alignment?
no setter
enabled → bool Function(T? param)
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
no setter
hidden → bool Function(T? param)
final
icon → Widget? Function(T? param)
final
iconData → IconData? Function(T? param)
final
key → Key?
finalinherited
onPressed → void Function(T? param)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String? Function(T? param)
final
tooltip → String? Function(T? param)
final
toolValue → ValueNotifier<T>?
final
visibility → ToolVisibility
finalinherited
width → double?
no setter

Methods

build(BuildContext context, {EdgeInsets margin = const EdgeInsets.all(0), Axis orientation = Axis.horizontal, bool compact = false, bool floating = false}) → Widget
override
buildWidget(BuildContext context, {T? param, Axis orientation = Axis.horizontal, bool compact = false, bool floating = false, String? tooltip}) → Widget
calcSize(BuildContext context, {double spacing = 0, Axis orientation = Axis.horizontal, T? param}) → Size?
inherited
getToolContainerDecoration(BuildContext context) → Decoration?
getToolContainerPadding(BuildContext context) → EdgeInsets?
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