appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
187 stars 214 forks source link

[Feature] : Overriding skip function eliminates the skipping functionality #226

Open SpirikleOfficial opened 8 months ago

SpirikleOfficial commented 8 months ago

Plugin name flutter_onboarding_slider: ^1.0.11

Is your feature request related to a problem? Please describe. Want to run additional logic along with the skipping functionality, but there is no way to do so. Only way is to override the skip function, but it eliminates the skipping to the last page functionality.

Describe the solution you'd like Either provide access to the underlying controller so that we can skip the pages ourselves while running our business logic, or give an option to run the logic along with the skipping functionality.

Describe alternatives you've considered Tried to wrap the skipButton widget with a gesture detetctor but to no avail. If there is any other way to run the underlying _onSkip function and our function then please let us know.