1. 24 Jan, 2024 1 commit
  2. 22 Jan, 2024 1 commit
    • Hassan Toor's avatar
      [web] - Fix broken `TextField` in semantics mode when it's a sibling of `Navigator` (#138446) · 59e892d3
      Hassan Toor authored
      When a `TextField` is rendered before a `Navigator`, it breaks in semantics mode.  This is because the framework generates the incorrect semantics tree (excludes the TextField) and when that tree gets sent to the engine, we don't get the signal to create the corresponding `<input>` element.
      
      This happens for a few reasons:
      * `ModalBarrier` uses `BlockSemantics` to drop the semantics of routes beneath the current route in `Navigator`
      * `ModalBarrier` mistakenly recognizes the widget outside of the `Navigator` to be its sibling
      *  So we end up dropping the semantics node of the `TextField` rendered before it. 
      
      The fix is to let `Navigator` generate a semantics node so that `ModalBarrier` doesn't mistakenly think widgets outside of `Navigator` are its siblings.  
      
      `Navigator` doesn't currently do this, which causes all the nodes generated from its widget subtree to be directly attached to the parent semantics node above `Navigator` - since this is also the parent of `TextField`, it considers them siblings. 
      
      Fixes https://github.com/flutter/flutter/issues/129324
      59e892d3
  3. 20 Jan, 2024 1 commit
    • LongCatIsLooong's avatar
      Remove more textScaleFactor references (#141816) · 5892a003
      LongCatIsLooong authored
      Remove more `textScaleFactor` references from flutter/flutter.  
      
      - Some changes are related to label scaling: the padding EdgeInsets values of some chip subclasses scale linearly between predetermined "max" padding values and "min" padding values. Before they scale with the `textScaleFactor` scalar, now they scale with the font size and are still capped at the original "max" and "min" values.
      - The rest of them are tests or size heuristics that depend on `textScaleFactor`, these are replaced by an effective text scale factor computed using a default font size (which is determined in a pretty random fashion, but it will only make a difference on Android 14+).
      
      No API changes in this batch. There are still some references left that I intend to remove in a different batch that would introduce API changes.
      5892a003
  4. 03 Jan, 2024 1 commit
  5. 15 Dec, 2023 1 commit
  6. 14 Dec, 2023 1 commit
    • Shashi's avatar
      Fix BottomNavigationBarItem label overflow (#120206) · cf3ed1ee
      Shashi authored
      This PR wraps the `label` with `IntrinsicWidth` and then `Flexible` which allows DefaulTextStyle `TextOverflow.ellipsis` to work. Wrapping `label` directly with `Flexible` brings more space between `icon` and `label`. `IntrinsicWidth` fixes this by giving reasonable width.
      
      Fixes #112163
      cf3ed1ee
  7. 04 Dec, 2023 1 commit
  8. 20 Nov, 2023 1 commit
  9. 06 Nov, 2023 2 commits
  10. 14 Aug, 2023 1 commit
  11. 07 Aug, 2023 1 commit
  12. 22 Jul, 2023 1 commit
  13. 13 Jun, 2023 1 commit
    • Qun Cheng's avatar
      Update unit tests in material library for Material 3 (#128725) · a5f8b64e
      Qun Cheng authored
      Updates most of the unit tests in the packages/flutter/test/material folder so that they'll pass if ThemeData.useMaterial3 defaults to true.
      
      All of the tests have wired useMaterial3 to false and will need to be updated with a M3 version.
      
      related to #127064
      a5f8b64e
  14. 20 Jan, 2023 1 commit
  15. 21 Dec, 2022 1 commit
  16. 17 Oct, 2022 1 commit
  17. 27 Sep, 2022 1 commit
  18. 20 Sep, 2022 1 commit
  19. 21 Jul, 2022 1 commit
  20. 25 May, 2022 1 commit
  21. 20 May, 2022 1 commit
  22. 28 Apr, 2022 1 commit
  23. 27 Apr, 2022 1 commit
  24. 03 Feb, 2022 1 commit
  25. 21 Jan, 2022 1 commit
  26. 15 Nov, 2021 1 commit
  27. 16 Oct, 2021 1 commit
  28. 14 Oct, 2021 1 commit
  29. 08 Oct, 2021 3 commits
  30. 30 Aug, 2021 1 commit
  31. 29 Jul, 2021 1 commit
  32. 15 Jul, 2021 1 commit
  33. 14 Jul, 2021 3 commits
  34. 13 Jul, 2021 2 commits