The function that will be called when user pulls the page or taps the TopButton.
TopButton
final Function action;