mirai_responsive 0.0.6
mirai_responsive: ^0.0.6 copied to clipboard
A Flutter package for building responsive layouts and scalable sizing across mobile, tablet, and desktop devices.
0.0.6 - 2026-08-15 #
๐ Updates & Modernization #
- Flutter & Dart SDK Upgrade: Updated package to support latest Flutter (3.47.0+) and Dart SDK (3.13.0+)
- Dependency Upgrades:
- Upgraded
flutter_lintsto^6.0.0 - Upgraded
cupertino_iconsto^1.0.8in example
- Upgraded
- Code Modernization:
- Migrated constructor key parameters to modern
super.keysyntax across widgets - Updated library declaration to modern unnamed
library;syntax - Added root
analysis_options.yaml - Improved example app grid cell layout responsiveness and modern test suite with
tester.viewAPI
- Migrated constructor key parameters to modern
- Testing Suites (Unit, Widget & Integration):
- Unit Testing: Added dedicated test suites in
test/unit/(mirai_size_unit_test.dart, enums_unit_test.dart) following Flutter cookbook unit testing guidelines - Widget Testing: Added dedicated component tests in
test/widget/(mirai_responsive_widget_test.dart) andexample/test/(widget_test.dart) following Flutter cookbook widget testing guidelines - Integration Testing: Implemented end-to-end integration tests using
package:integration_testinexample/integration_test/(app_test.dart) and host driver inexample/test_driver/(integration_test.dart) - 100% test pass rate across all suites (44 package tests + 5 example widget tests + 2 integration tests)
- Zero static analysis issues
- Unit Testing: Added dedicated test suites in
0.0.5 - 2025-10-25 #
๐ Major Enhancements #
- Improved Web Support: Replaced
dart:ioPlatform check withfoundation.dartdefaultTargetPlatformfor better web compatibility - Comprehensive Test Coverage: Added extensive unit and widget tests
- 23 test cases covering all responsive breakpoints
- Widget tests for all layout scenarios
- MiraiSize initialization and reset tests
- Enhanced API Documentation: Added comprehensive dartdoc comments to all public APIs
- Detailed class and method documentation
- Usage examples in documentation
- Clear breakpoint descriptions
- Better Architecture: Introduced
MiraiSize.reset()method for improved testability - Updated Dependencies: Added
flutter_lintsfor better code quality - Fixed Deprecations: Updated
Colors.withOpacity()toColors.withValues()in examples - Example Improvements: Enhanced example app with better widget tests
๐ Bug Fixes #
- Fixed missing
flutter_lintsdependency in example project - Removed unused
dart:ioimport for better platform support
๐ Documentation #
- Added detailed dartdoc comments for:
MiraiResponsivewidget and all its propertiesMiraiSizeclass and initialization processMiraiResponsiveEnumwith breakpoint details- All public methods and static fields
๐งช Testing #
- Added comprehensive test suite with 23 test cases
- All tests passing โ
- Example widget tests updated and working
0.0.4 - 2024-12-09 #
- Update to Flutter 3.24.5 and Dart SDK 3.5.4
- Optimize grid system with precise breakpoints:
- Small/Medium Mobile (โค380px): 2 columns
- Normal Mobile (โค500px): 3 columns
- Large Mobile (โค840px): 4 columns
- Tablet (โค1200px): 5 columns
- Desktop (>1200px): 6 columns
- Add LayoutBuilder for improved constraint management and screen size detection
- Improve responsive size handling with better breakpoints
- Update documentation with detailed screen size categories and grid system usage
0.0.3+1 - 2024-10-02 #
- isMobile: Less than 700 pixels.
- isTablet: Between 700 and 1200 pixels.
- isDesktop: Above 1200 pixels.
0.0.3 - 2024-10-02 #
- Upgrade to Flutter 3.24.3.
0.0.2 - 2023-12-07 #
- Upgrade to Flutter 3.16.
0.0.1+4 - 2023-06-15 #
- New Sizes...
0.0.1+3 - 2023-02-12 #
- New Sizes...
0.0.1+1 - 2022-11-16 #
- New Sizes...
0.0.1 #
- Initial version, created by Mirai Devs.