topButton property

TopButton? topButton
final

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.

Implementation

// If you want to **hide** the button, use `TopButton.hidden()`.
final TopButton? topButton;