widgets/buttons/single_press_button library

Classes

SinglePressButton
A customizable button that ensures the onPressed callback is invoked only once per press. It prevents multiple invocations during a single press, making it ideal for handling actions that shouldn't be executed multiple times concurrently, such as network requests.