PackageTrack
Sign in Get early access

adaptive_test

A Flutter package to generate adaptive golden files during widget tests.

0.10.4 bamlab/adaptive_test

What this package is like to depend on

Last release 2 months ago

02 Jun 2026

Release timing varies

gaps range from 8 days to 9 months

Nearly every release is documented

notes for 24 of 24 stable releases

2 versions withdrawn

withdrawn after publishing

4 years old

26 releases · first in 2022

6 releases in the last 12 months

see the full history below

Release timeline

26 releases · Aug 2022 to Jun 2026
2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 26
  1. 0.10.4 02 Jun 2026
    Release notes
    • fix: catch flaky offstage widget finder errors in awaitImages
    Open source →
  2. 0.10.3 25 May 2026
    Release notes
    • fix: disable skipOffstage by default in awaitImages.
    Open source →
  3. 0.10.2 10 Mar 2026
    Release notes
    • feat: added iPhone dark mode support.
    Open source →
  4. 0.10.1 10 Oct 2025
    Release notes
    • fix: revert viewPadding update when keyboard opens/closes.
    Open source →
  5. 0.10.0 15 Sep 2025
    Release notes
    • feat: Add support for 2-button and 3-button navigation for Android devices.
      WindowConfigData(
        systemNavBar = SystemNavBarData.threeButton(),
      )
      // or
      WindowConfigData(
        systemNavBar = SystemNavBarData.twoButton(),
      )
      
    • BREAKING: refactor: replaced homeIndicator by systemNavBar in WindowConfigData for the home gesture indicator:
        WindowConfigData(
      -  homeIndicator = HomeIndicatorData(bottomPadding, size)
      +  systemNavBar = SystemNavBarData.gestureIndicator(bottomPadding, size)
        )
      
    Open source →
  6. 0.9.1 29 Aug 2025
    Release notes
    • feat: await image now works with ShapeDecopration
    Open source →
  7. 0.9.0 15 Jul 2025
    Release notes
    • fix: Handle viewPadding when keyboard opens.
    Open source →
  8. 0.8.0 21 Oct 2024
    Release notes
    • feat: Add new devices iPhone 16 pro and Pixel 9.
    • BREAKING: feat: Update device sizes and assets.
    Open source →
  9. 0.7.2 02 Oct 2024
    Release notes
    • refactor: Format files with dart format.
    Open source →
  10. 0.7.1 01 Oct 2024
    Release notes
    • refactor: Format files with dart format.
    Open source →
  11. 0.7.0 01 Oct 2024
    Release notes
    • BREAKING: feat: Remove argument packages fron loadFonts
      • feat: loadFonts now support custom icons font like material_symbols_icons
    • BREAKING: feat: loadFontsFromPackage
      • feat: loading fonts from current or external packages is now supported by loadFonts
    • BREAKING: feat: Add keyboardName to WindowConfigData
      • fix: It's now possible to use custom devices as WindowConfigData variant
    • feat: awaitImages now support FadeInImage.
    • improvement: use pump instead of pumpAndSettle in awaitImages.
    • feat: add path and version argument to expectGolden method.
    Open source →
  12. 0.6.0 24 Sep 2024 withdrawn

    Nothing published for this version

  13. 0.5.1 15 Sep 2024
    Release notes
    • feat: add support for skipping tests instead of failing them based on the enforced target platform defined in the AdaptiveTestConfiguration class.
    Open source →
  14. 0.5.0 13 May 2024
    Release notes

    fix: add dart setup step to publish pipeline

    Open source →
    Release notes

    Breaking changes

    • Remove the semi colon in golden file names to support using the package on a Windows machine.

      This is a breaking change for users who have generated golden files with the previous version of the library. The golden file names will now be preview/${windowConfig.name}-${name.snakeCase}$localSuffix.png instead of preview/${windowConfig.name}:${name.snakeCase}$localSuffix.png.

      To resolve this, you can either rename the golden files manually or regenerate them.

      To ease the migration, we provide a script that will rename your goldens files to the new format:

      #!/bin/bash
      
      # Function to rename files in directories named "preview"
      rename_files_in_preview() {
          # Find directories named "preview"
          find . -type d -name "preview" | while read -r dir; do
              echo "Processing directory: $dir"
              # Find files within these directories
              find "$dir" -type f | while read -r file; do
                  # New filename by replacing ':' with '-'
                  new_name=$(echo "$file" | sed 's/:/-/g')
                  if [ "$file" != "$new_name" ]; then
                      mv "$file" "$new_name"
                      echo "Renamed $file to $new_name"
                  fi
              done
          done
      }
      
      # Call the function
      rename_files_in_preview()
      

      You can add the script in a .sh file and run it from your project root directory.

    Open source →
  15. 0.4.1 05 Nov 2023
    Release notes
    • fix: Update broken link on README.md
    Open source →
  16. 0.4.0 27 Jul 2023
    Release notes
    • fix: add support for flutter >=3.10.0
    • fix: add support for dart >=3.0.5
    Open source →
  17. 0.3.2 17 Jan 2023
    Release notes
    • feat: add the loadFontsFromPackage method to load fonts from a package which name does not match the corresponding folder name
    • example: add multi-packages example to showcase loading fonts from a separate package
    Open source →
  18. 0.3.1 03 Jan 2023
    Release notes
    • fix: replace iterable with a list in the await image method.
    Open source →
  19. 0.3.0 14 Nov 2022
    Release notes

    Breaking changes

    • Remove the space in golden file names.

      This is a breaking change for users who have generated golden files with the previous version of the library. The golden file names will now be preview/${windowConfig.name}:${name.snakeCase}$localSuffix.png instead of preview/${windowConfig.name}: ${name.snakeCase}$localSuffix.png.

      To resolve this, you can either rename the golden files manually or regenerate them.

    Open source →
  20. 0.2.3 09 Nov 2022
    Release notes
    • fix: set the image precaching to true by default
    Open source →
  21. 0.2.2 09 Nov 2022 withdrawn
    Release notes
    • feat: add an option to disable the image precaching
    Open source →
  22. 0.2.1 05 Oct 2022
    Release notes
    • fix: runtime platform check.
    Open source →
  23. 0.2.0 05 Oct 2022
    Release notes
    • fix: font loader with package not working.
    • feat: create is runtime platform extension.
    Open source →
  24. 0.1.0 28 Aug 2022
    Release notes
    • Add .pubignore to reduce package size.
    Open source →
  25. 0.0.2 19 Aug 2022
    Release notes
    • Improve pub.dev page presentation.
    Open source →
  26. 0.0.1 19 Aug 2022
    Release notes
    • Initial release.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive