TouchBarScrubber class

Inheritance
Mixed in types

Constructors

TouchBarScrubber({required List<TouchBarScrubberItem> children, OnItemAction? onSelect, OnItemAction? onHighlight, bool showArrowButtons = false, ScrubberSelectionStyle selectedStyle = ScrubberSelectionStyle.none, ScrubberSelectionStyle overlayStyle = ScrubberSelectionStyle.none, ScrubberMode mode = ScrubberMode.free, bool isContinuous = true, bool unselectAfterHit = false})

Properties

children List<TouchBarItem>?
The subitems of this.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The unique sequential identifier of this.
finalinherited
isContinuos bool
no getter
isContinuous bool
no setter
methods Map<String, Function>
Stores all the methods of this.
finalinherited
mode ScrubberMode
getter/setter pair
onHighlight OnItemAction
no getter
onSelect OnItemAction
no getter
overlayStyle ScrubberSelectionStyle
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedStyle ScrubberSelectionStyle
getter/setter pair
showArrowButtons bool
getter/setter pair
type String
Name of the touch bar item type that will be used to inform the specific platform implementation which TouchBarItem must be rendered/updated. This is important because the platform channel communication is performed through subset of the primitive types. See https://flutter.dev/docs/development/platform-integration/platform-channels#codec.
no setteroverride
unselectAfterHit bool
getter/setter pair

Methods

callMethod(String name, dynamic arguments) bool
Searches the method named name in this and execute it.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert all the TouchBarItem data to a Map that will be used in the platform channel communication.
override
toString() String
A string representation of this object.
inherited
updateProperty(String name, {dynamic newValue}) → void
Updates the property named name with a newValue.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited