animated_quiz_widget 1.0.0
animated_quiz_widget: ^1.0.0 copied to clipboard
A comprehensive, animated quiz widget package for Flutter with navigation, progress tracking, gradient backgrounds, and customizable styling.
Changelog #
All notable changes to this project will be documented in this file.
1.0.0 - 2024-12-19 #
Features #
- Initial Release - Comprehensive animated quiz widget package
- Multi-Question Support - Handle multiple questions with navigation
- Auto-Navigation - Automatic progression after answer selection with customizable delay
- Progress Tracking - Visual progress indicator showing current question (X/Y format)
- Gradient Backgrounds - Beautiful gradient backgrounds with completion state changes
- Customizable Styling - Full control over colors, padding, corner radius, and fonts
- Smooth Animations - Elegant slide and fade transitions between questions
- Mobile Optimized - Responsive design with proper overflow handling
- Completion Feedback - Green gradient background on quiz completion
- Backward Navigation - Allow users to go back and edit previous answers
- Answer Persistence - Maintains selected answers when navigating between questions
- Rounded Ripples - Properly clipped ripple effects for radio button interactions
Components #
QuizWidget- Main quiz container with navigation and progress trackingAnimatedRadioColumn- Individual question display with animated radio optionsQuizQuestion- Data model for questions and answers with state managementQuizConfig- Configuration class for extensive customization options
Configuration Options #
- Background colors and gradient customization
- Corner radius and padding adjustments
- Animation durations and auto-navigation delays
- Progress indicator visibility controls
- Navigation behavior settings
- Text styling and font size options
- Auto-navigation timing configuration
Technical Features #
- Null safety support
- Consistent widget height across all questions
- Embedded progress and navigation controls
- Fixed container with content-only animations
- Left-aligned content layout
- Proper state management and callbacks