Closed Jhalakupadhyay closed 1 week ago
This pull request implements an animation mode for a badge display system. It introduces new animation types, refactors existing code to support animations, and adds utility functions for handling animations and conversions between different data representations.
Change | Details | Files |
---|---|---|
Implemented new animation system with various animation types |
|
lib/badge_animation/ani_animation.dart lib/badge_animation/ani_snowflake.dart lib/badge_animation/anim_left.dart lib/badge_animation/ani_right.dart lib/badge_animation/ani_up.dart lib/badge_animation/ani_dpwn.dart lib/badge_animation/ani_fixed.dart lib/badge_animation/animation_abstract.dart |
Refactored DrawBadgeProvider to support new animation system |
|
lib/providers/badgeview_provider.dart |
Added utility functions for data conversion and manipulation |
|
lib/bademagic_module/utils/byte_array_utils.dart |
Updated UI components to support new animation system |
|
lib/virtualbadge/widgets/badge_widget.dart lib/virtualbadge/view/draw_badge.dart lib/virtualbadge/view/badge_home_view.dart lib/view/homescreen.dart |
Added constants for animation speeds and effects |
|
lib/constants.dart |
Summary by Sourcery
Add a new animation mode for badges, introducing multiple animation effects and refactor the badge drawing logic to use a new provider for improved flexibility and control.
New Features:
Enhancements:
BadgeViewProvider
, replacing the previousDrawBadgeProvider
.Chores: