1. 10 Jan, 2024 8 commits
  2. 09 Jan, 2024 29 commits
  3. 08 Jan, 2024 3 commits
    • asci's avatar
      [docs] Add document content related to chip shape (#140015) · 3b7ed000
      asci authored
      (#139572)  I would like to request an update to the document to resolve confusion.
      I actually modified the code by applying priority as in the comment in [#139572](https://github.com/flutter/flutter/issues/139572) as shown below, but I thought that if 'OutlinedBorder' was used for 'shape', the default value of side for 'OutlinedBorder' was also the developer's intention.
      
      ```
      OutlinedBorder _getShape(ThemeData theme, ChipThemeData chipTheme, ChipThemeData chipDefaults) {
        final BorderSide? resolvedSide =
            MaterialStateProperty.resolveAs<BorderSide?>(widget.side, materialStates)
                ?? MaterialStateProperty.resolveAs<BorderSide?>(chipTheme.side, materialStates);
        final BorderSide? resolvedShapeSide =
            MaterialStateProperty.resolveAs<BorderSide?>(widget.shape?.side, materialStates)
                ?? MaterialStateProperty.resolveAs<BorderSide?>(chipTheme.shape?.side, materialStates);
        final OutlinedBorder resolvedShape =
            MaterialStateProperty.resolveAs<OutlinedBorder?>(widget.shape, materialStates)
                ?? MaterialStateProperty.resolveAs<OutlinedBorder?>( chipTheme.shape, materialStates)
                ?? MaterialStateProperty.resolveAs<OutlinedBorder?>(chipDefaults.shape, materialStates)
                // TODO(tahatesser): Remove this fallback when Material 2 is deprecated.
                ?? const StadiumBorder();
        // If the side is provided, shape uses the provided side.
      
        if (resolvedSide != null) {
          return resolvedShape.copyWith(side: resolvedSide);
        }
        if (resolvedShapeSide != null) {
          return resolvedShape.copyWith(side: resolvedShapeSide);
        }
        // If the side is not provided
        // then the shape's side is used. Otherwise, the default side is used.
        return resolvedShape.copyWith(side: chipDefaults.side);
      }
      ```
      (in `chip.dart`)
      
      However, (#133856)  PR seems to be intended to ignore this and use the aspect of `chipDefault.side` even if the developer specifies `shape.side` as [Border.none] without explicitly applying `side` .
      This is probably because the default value of OutlinedBorder is [Border.none].
      I think this is an area that can cause enough confusion, but there are a lot of things that need to be modified to reduce confusion through code changes, and the impact on existing code is likely to be significant.
      I also confirmed that this is not accurately explained in the API Docs.
      So rather than modifying the code, I decided to add additional explanation to the `shape` comment.
      If the results are different from what you intended or the updated content is strange, please review. 🙏
      3b7ed000
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 00ff33274fc0 to ee1ded6d1c44 (2 revisions) (#141133) · 1e871427
      engine-flutter-autoroll authored
      https://github.com/flutter/engine/compare/00ff33274fc0...ee1ded6d1c44
      
      2024-01-08 jason-simmons@users.noreply.github.com Fix memory leaks in some embedder unit tests that send key events (flutter/engine#49548)
      2024-01-08 jason-simmons@users.noreply.github.com [Impeller] Start and end a frame in the RenderTargetCache for each rendering of an entity in the playgrounds (flutter/engine#49576)
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
      Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
      is aware of the problem.
      
      To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
      
      To report a problem with the AutoRoller itself, please file a bug:
      https://issues.skia.org/issues/new?component=1389291&template=1850622
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
      1e871427
    • engine-flutter-autoroll's avatar
      Roll Flutter Engine from 70c45157c60a to 00ff33274fc0 (2 revisions) (#141128) · a7aca4b9
      engine-flutter-autoroll authored
      https://github.com/flutter/engine/compare/70c45157c60a...00ff33274fc0
      
      2024-01-08 bdero@google.com [Flutter GPU] Shader bundle improvements: Uniform structs & member offset reflection, GLES metadata, separate from runtime stage. (flutter/engine#49485)
      2024-01-08 skia-flutter-autoroll@skia.org Roll Skia from 88b7612add02 to a0aba842460c (4 revisions) (flutter/engine#49600)
      
      If this roll has caused a breakage, revert this CL and stop the roller
      using the controls here:
      https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
      Please CC rmistry@google.com,zra@google.com on the revert to ensure that a human
      is aware of the problem.
      
      To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
      
      To report a problem with the AutoRoller itself, please file a bug:
      https://issues.skia.org/issues/new?component=1389291&template=1850622
      
      Documentation for the AutoRoller is here:
      https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
      a7aca4b9