kherel / animated_theme_switcher

Flutter animated theme switcher
https://pub.dev/packages/animated_theme_switcher
MIT License
278 stars 28 forks source link

Added Offset Parameter and onAnimationFinish Callback Parameter to changeTheme Method #68

Closed mahdidahouei closed 10 months ago

mahdidahouei commented 10 months ago

This pull request adds a custom offset parameter to the changeTheme method in the animatedThemeSwitcher package, allowing users to specify the animation start position based on user tap position. Additionally, an onAnimationFinish callback has been added to the changeTheme method, providing users with a way to execute code after the theme change animation has finished.