1. 22 Aug, 2023 2 commits
  2. 15 Mar, 2023 1 commit
  3. 09 Feb, 2023 1 commit
  4. 02 Feb, 2023 1 commit
    • Andrew Kolos's avatar
      Reland "Add API for discovering assets" (#119277) · fd76ef0f
      Andrew Kolos authored
      * add asset manifest bin loading and asset manifest api
      
      * use new api for image resolution
      
      * remove upfront smc data casting
      
      * fix typecasting issue
      
      * remove unused import
      
      * fix tests
      
      * lints
      
      * lints
      
      * fix import
      
      * revert image resolution changes
      
      * Update image_resolution_test.dart
      
      * Update decode_and_parse_asset_manifest.dart
      
      * make targetDevicePixelRatio optional
      
      * Update packages/flutter/lib/src/services/asset_manifest.dart
      Co-authored-by: 's avatarJonah Williams <jonahwilliams@google.com>
      
      * Update packages/flutter/lib/src/services/asset_manifest.dart
      Co-authored-by: 's avatarJonah Williams <jonahwilliams@google.com>
      
      * fix immutable not being imported
      
      * return List in AssetManifest methods, fix annotation import
      
      * simplify onError callback
      
      * make AssetManifest methods abstract instead of throwing UnimplementedError
      
      * simplify AssetVariant.key docstring
      
      * tweak _AssetManifestBin docstring
      
      * make AssetManifest and AssetVariant doc strings more specific
      
      * use List.of instead of List.from for type-safety
      
      * adjust import
      
      * change _AssetManifestBin comment from doc comment to normal comment
      
      * revert to callback function for onError in loadStructuredBinaryData
      
      * add more to the docstring of AssetManifest.listAssets and AssetVariant.key
      
      * add tests for CachingAssetBundle caching behavior
      
      * add simple test to ensure loadStructuredBinaryData correctly calls load
      
      * Update asset_manifest.dart
      
      * update docstring for AssetManifest.getAssetVariants
      
      * rename getAssetVariants, have it include main asset
      
      * rename isMainAsset field of AssetMetadata to main
      
      * (slightly) shorten name of describeAssetAndVariants
      
      * rename describeAssetVariants back to getAssetVariants
      
      * add tests for TestAssetBundle
      
      * nits
      
      * fix typo in docstring
      
      * remove no longer necessary non-null asserts
      
      * update gallery and google_fonts versions
      
      ---------
      Co-authored-by: 's avatarJonah Williams <jonahwilliams@google.com>
      fd76ef0f
  5. 02 Nov, 2022 1 commit
  6. 28 Sep, 2022 1 commit
  7. 18 May, 2022 1 commit
  8. 29 Mar, 2022 2 commits
  9. 07 Feb, 2022 1 commit
  10. 21 Nov, 2021 1 commit
  11. 07 Nov, 2021 1 commit
  12. 06 Nov, 2021 1 commit
  13. 01 Nov, 2021 1 commit
  14. 22 May, 2021 1 commit
  15. 14 Apr, 2021 1 commit
  16. 31 Mar, 2021 1 commit
  17. 19 Feb, 2021 3 commits
  18. 09 Nov, 2020 1 commit
  19. 29 Sep, 2020 1 commit
  20. 25 Sep, 2020 2 commits
  21. 28 Aug, 2020 2 commits
  22. 05 Aug, 2020 1 commit