mirai_responsive 0.0.6 copy "mirai_responsive: ^0.0.6" to clipboard
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_lints to ^6.0.0
    • Upgraded cupertino_icons to ^1.0.8 in example
  • Code Modernization:
    • Migrated constructor key parameters to modern super.key syntax 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.view API
  • 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) and example/test/ (widget_test.dart) following Flutter cookbook widget testing guidelines
    • Integration Testing: Implemented end-to-end integration tests using package:integration_test in example/integration_test/ (app_test.dart) and host driver in example/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

0.0.5 - 2025-10-25 #

๐ŸŽ‰ Major Enhancements #

  • Improved Web Support: Replaced dart:io Platform check with foundation.dart defaultTargetPlatform for 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_lints for better code quality
  • Fixed Deprecations: Updated Colors.withOpacity() to Colors.withValues() in examples
  • Example Improvements: Enhanced example app with better widget tests

๐Ÿ› Bug Fixes #

  • Fixed missing flutter_lints dependency in example project
  • Removed unused dart:io import for better platform support

๐Ÿ“š Documentation #

  • Added detailed dartdoc comments for:
    • MiraiResponsive widget and all its properties
    • MiraiSize class and initialization process
    • MiraiResponsiveEnum with 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+2 - 2023-01-24 #

  • New Sizes...

0.0.1+2 #

0.0.1+1 - 2022-11-16 #

  • New Sizes...

0.0.1 #

  • Initial version, created by Mirai Devs.
3
likes
135
points
118
downloads

Documentation

API reference

Publisher

verified publishermiraidevs.com

Weekly Downloads

A Flutter package for building responsive layouts and scalable sizing across mobile, tablet, and desktop devices.

Repository (GitHub)
View/report issues

Topics

#responsive #screen-size #layout #adaptive #ui

License

unknown (license)

Dependencies

flutter

More

Packages that depend on mirai_responsive