quiz_bank 1.0.1
quiz_bank: ^1.0.1 copied to clipboard
A Flutter package for true/false quiz questions with categories, difficulty levels, and customization. Perfect for educational apps and trivia games.
1.0.1 #
๐ง Patch Release - Pub.dev Score Improvements #
๐ Changes
- Description Optimization: Shortened package description to meet pub.dev character limits (60-180 chars)
- Code Formatting: Applied Dart formatter to all source files for consistent code style
- Pub.dev Compliance: Improved package score by addressing formatting and metadata issues
๐ฏ Impact
- Better discoverability on pub.dev with optimized description
- Consistent code formatting across the entire codebase
- Improved package quality score on pub.dev
1.0.0 #
๐ Major Release - Complete Refactor #
This is a complete rewrite of the quiz_bank package with modern architecture, comprehensive features, and improved developer experience.
โจ New Features
- Rich Question Model: Questions now support categories, difficulty levels, explanations, and sources
- Categorized Questions: 20+ questions across 10 categories (Science, Technology, Geography, etc.)
- Difficulty Levels: Questions rated from 1 (easy) to 5 (hard)
- Advanced Quiz Management: Create quizzes from specific categories, difficulties, or custom question sets
- Enhanced Navigation: Move forward/backward, jump to specific questions, get random questions
- Question Tracking: Track used and unused questions
- Shuffling: Randomize question order
- Custom Questions: Add your own questions to any quiz
- Comprehensive API: Intuitive methods and getters for all operations
๐๏ธ Architecture Improvements
- Modular Design: Separated concerns into models, data, and core logic
- Type Safety: Full null safety support with modern Dart features
- Error Handling: Custom exceptions with descriptive error messages
- Immutability: Question model is immutable with copyWith functionality
- Factory Constructors: Multiple ways to create QuizBrain instances
๐งช Testing & Quality
- Comprehensive Tests: 95%+ test coverage with unit tests for all functionality
- Linting: Modern linting rules and analysis options
- Documentation: Complete API documentation with examples
- Example App: Full-featured Flutter app demonstrating all capabilities
๐ Documentation
- Modern README: Beautiful, comprehensive documentation with badges and examples
- API Reference: Complete documentation for all classes and methods
- Code Examples: Extensive examples for all use cases
- Migration Guide: Clear upgrade path from previous versions
๐ง Technical Improvements
- Dart 3.0+ Support: Updated to latest Dart SDK requirements
- Flutter 3.10+ Support: Compatible with latest Flutter versions
- Performance: Optimized for better performance and memory usage
- Maintainability: Clean, well-structured codebase
๐ Breaking Changes
- API Redesign: Complete API overhaul for better usability
- Method Names: Updated method names to follow Dart conventions
- Constructor Changes: New constructor patterns for different use cases
- Property Access: Changed from methods to getters for better performance
๐ฆ Dependencies
- Updated to Flutter 3.10+ and Dart 3.0+
- Modern linting rules and analysis options
- Comprehensive test dependencies
0.0.2 #
- Updated Readme File
- Added Example and Img, Gif.