set Page Item Provider
Sets the button provider function for generating buttons based on the current state. This function is called to create a list of buttons whenever the state changes, allowing for dynamic button generation.
Return
The current instance of PaginatedDynamicGUI for method chaining.
Parameters
provider
A lambda function that takes a state of type S and returns a list of buttons.