1. 26 Jan, 2023 10 commits
    • Andrew Kolos's avatar
      Add API for discovering assets (#118410) · 2b8f2d05
      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
      Co-authored-by: 's avatarJonah Williams <jonahwilliams@google.com>
      2b8f2d05
    • Flutter GitHub Bot's avatar
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 8f1e5dc1b124 to 04f22beebb42 (5 revisions) (#119218) · 07522b74
      engine-flutter-autoroll authored
      * c068a3675 [Impeller] Use analytical normals for stroke caps (flutter/engine#39124)
      
      * 68912346c Roll Dart SDK from de14a48187ce to d9151e59f70b (6 revisions) (flutter/engine#39146)
      
      * 285f3311b Roll Clang from a93d03310e2c to 20d06c833d83 (flutter/engine#39152)
      
      * ab2ccd5a6 Roll Dart SDK from d9151e59f70b to f61211592196 (3 revisions) (flutter/engine#39154)
      
      * 04f22beeb Roll Skia from 393fb1ec80f4 to 3d0e2ad41911 (6 revisions) (flutter/engine#39153)
      07522b74
    • engine-flutter-autoroll's avatar
      Roll Plugins from 1e5efd144f93 to e9406bc209a2 (4 revisions) (#119249) · 40bd82ef
      engine-flutter-autoroll authored
      * bc0174fd5 [path_provider] Fix iOS `getApplicationSupportDirectory` regression (flutter/plugins#7026)
      
      * 15d799b89 [url_launcher] Convert Windows to Pigeon (flutter/plugins#6991)
      
      * dc8ad7701 Roll Flutter from c35efdaa to a815ee63 (22 revisions) (flutter/plugins#7025)
      
      * e9406bc20 [camerax] Adds functionality to bind UseCases to a lifecycle (flutter/plugins#6939)
      40bd82ef
    • Hasnen Tai's avatar
      Fix: Added `margin` parameter for `MaterialBanner` class (#119005) · 7d3b762d
      Hasnen Tai authored
      * Fix: Added Margin Parameter for Material Banner
      
      * Fix: Comment for default value added and test improved
      
      * Fix: Comment updated
      
      * Fix: Comment added
      7d3b762d
    • godofredoc's avatar
      Move windows-x64-flutter.zip to windows-x64-debug location. (#119177) · c9affdba
      godofredoc authored
      The dependency is currently uploaded to two different locations. This
      change is required to remove the duplicate uploads and their
      corresponding tech debt.
      c9affdba
    • Flutter GitHub Bot's avatar
    • Todd Volkert's avatar
      Add more flexible image API (#118966) · b319938e
      Todd Volkert authored
      This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images.
      
      #118543
      b319938e
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 308ce918f67f to 8f1e5dc1b124 (4 revisions) (#119208) · 202e9027
      engine-flutter-autoroll authored
      * e3b278239 [macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing (flutter/engine#38981)
      
      * 36db005dd Revert "[macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing (#38981)" (flutter/engine#39144)
      
      * a20609120 Roll buildroot (flutter/engine#39141)
      
      * 8f1e5dc1b Reland "[macOS] Formalize FlutterViewController's initialization flow, and prohibit replacing" (flutter/engine#39145)
      202e9027
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 44362c90fcec to 308ce918f67f (2 revisions) (#119201) · e0e88da1
      engine-flutter-autoroll authored
      * c01d4a144 Roll Skia from c4b171fe5668 to 393fb1ec80f4 (9 revisions) (flutter/engine#39138)
      
      * 308ce918f Get the vulkan backend working again (flutter/engine#39103)
      e0e88da1
  2. 25 Jan, 2023 30 commits