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 2026Releases
latest 26-
0.10.402 Jun 2026 -
0.10.325 May 2026 -
0.10.210 Mar 2026 -
0.10.110 Oct 2025 -
0.10.015 Sep 2025Release notes
Open source →- 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
homeIndicatorbysystemNavBarinWindowConfigDatafor the home gesture indicator:WindowConfigData( - homeIndicator = HomeIndicatorData(bottomPadding, size) + systemNavBar = SystemNavBarData.gestureIndicator(bottomPadding, size) )
- feat: Add support for 2-button and 3-button navigation for Android devices.
-
0.9.129 Aug 2025 -
0.9.015 Jul 2025 -
0.8.021 Oct 2024Release notes
Open source →- feat: Add new devices iPhone 16 pro and Pixel 9.
- BREAKING: feat: Update device sizes and assets.
-
0.7.202 Oct 2024 -
0.7.101 Oct 2024 -
0.7.001 Oct 2024Release notes
Open source →- 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.
- BREAKING: feat: Remove argument packages fron loadFonts
-
0.6.024 Sep 2024 withdrawnNothing published for this version
-
0.5.115 Sep 2024Release notes
Open source →- feat: add support for skipping tests instead of failing them based on the enforced target platform defined in the
AdaptiveTestConfigurationclass.
- feat: add support for skipping tests instead of failing them based on the enforced target platform defined in the
-
0.5.013 May 2024Release notes
Open source →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.pnginstead ofpreview/${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
.shfile and run it from your project root directory.
-
-
0.4.105 Nov 2023 -
0.4.027 Jul 2023 -
0.3.217 Jan 2023Release notes
Open source →- feat: add the
loadFontsFromPackagemethod 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
- feat: add the
-
0.3.103 Jan 2023 -
0.3.014 Nov 2022Release notes
Open source →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.pnginstead ofpreview/${windowConfig.name}: ${name.snakeCase}$localSuffix.png.To resolve this, you can either rename the golden files manually or regenerate them.
-
-
0.2.309 Nov 2022 -
0.2.209 Nov 2022 withdrawn -
0.2.105 Oct 2022 -
0.2.005 Oct 2022Release notes
Open source →- fix: font loader with package not working.
- feat: create is runtime platform extension.
-
0.1.028 Aug 2022 -
0.0.219 Aug 2022 -
0.0.119 Aug 2022