TopButton class
Constructor, which creates TopButtonWidget
. The widget will be displayed
in the top of the page. When user pulls the page or taps the widget,
TopButton.action
will be fired.
Properties
- action → Function
-
The function that will be called when user pulls the page or taps the
TopButton
.final - hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
TopButton
's icon. Usually used for hinting which action will be taken when user taps the button or pulls the page.final - isHidden ↔ bool
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
TopButton
's title. Usually text that hints which action will be taken when user taps the button or pulls the page.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