1. 04 Oct, 2019 2 commits
  2. 02 Oct, 2019 1 commit
    • Greg Spencer's avatar
      Add an ActivateAction to controls that use InkWell. (#41220) · 4512a1c1
      Greg Spencer authored
      Adds an ActivateAction to controls that use InkWell. Make InkWell host the Focus for those controls, and add the top level binding to the ENTER key. This will make it possible to trigger a button using the enter key, and to get an ink response when the button is triggered.
      
      This is a breaking change because it moves the Focus widget into the InkWell. If you have a component that uses the InkWell directly and you used to wrap that InkWell in a Focus widget to give it its notion of focus, it will now not look for that Focus ancestor for its focus state anymore. In order to control focus on the InkWell, you need to give it a FocusNode directly, via the new focusNode parameter. This should not affect users of widgets like OutlineButton or FloatingActionButton and the like, since those have been modified in this PR.
      4512a1c1
  3. 09 Aug, 2019 1 commit
  4. 25 Jun, 2019 1 commit
  5. 15 May, 2019 2 commits
  6. 02 May, 2019 1 commit
  7. 04 Apr, 2019 2 commits
  8. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  9. 22 Feb, 2019 1 commit
  10. 15 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Remove remaining "## Sample code" segments, and fix the snippet generator. (#27793) · 262f12b4
      Greg Spencer authored
      This converts all remaining "## Sample code" segments into snippets, and fixes
      the snippet generator to handle multiple snippets in the same dartdoc block
      properly.
      
      I also generated, compiled, and ran each of the existing application samples,
      and fixed them up to be more useful and/or just run without errors.
      
      This PR fixes these problems with examples:
      
      1. Switching tabs in a snippet now works if there is more than one snippet in
         a single dartdoc block.
      2. Generation of snippet code now works if there is more than one snippet.
      3. Contrast of text and links in the code sample block has been improved to
         recommended levels.
      4. Added five new snippet templates, including a "freeform" template to make
         it possible to show examples that need to change the app instantiation.
      5. Fixed several examples to run properly, a couple by adding the "Scaffold"
         widget to the template, a couple by just fixing their code.
      6. Fixed visual look of some of the samples when they run by placing many
         samples inside of a Scaffold.
      7. In order to make it easier to run locally, changed the sample analyzer to
         remove the contents of the supplied temp directory before running, since
         having files that hang around is problematic (only a problem when running
         locally with the `--temp` argument).
      8. Added a `SampleCheckerException` class, and handle sample checking
         exceptions more gracefully.
      9. Deprecated the old "## Sample code" designation, and added enforcement for
         the deprecation.
      10. Removed unnecessary `new` from templates (although they never appeared in
         the samples thanks to dartfmt, but still).
      
      Fixes #26398
      Fixes #27411
      262f12b4
  11. 01 Feb, 2019 1 commit
  12. 18 Jan, 2019 1 commit
  13. 16 Jan, 2019 1 commit
  14. 07 Jan, 2019 1 commit
  15. 07 Nov, 2018 1 commit
    • Michael Beckler's avatar
      BottomNavigationBar: bug fix for dealing with animations with shifting tabs (#22264) · 9abce96e
      Michael Beckler authored
      Should fix #22226.
      
      Code introduced in #20890 caused a regression that broke color flooding animations in a BottomNavigationBar that has BottomNavigationBarType.shifting.
      
      The original issue (#19653) dealt with background color changes not occurring until another tab was selected. The result is that the background color instantly changes whenever the state changes and when the widget changes, instead of allowing a new widget to animate the background color change.
      9abce96e
  16. 16 Oct, 2018 1 commit
  17. 12 Oct, 2018 3 commits
  18. 10 Oct, 2018 1 commit
  19. 01 Oct, 2018 1 commit
  20. 23 Sep, 2018 1 commit
  21. 13 Sep, 2018 1 commit
  22. 12 Sep, 2018 1 commit
  23. 22 Aug, 2018 1 commit
  24. 31 Jul, 2018 1 commit
  25. 26 Jul, 2018 1 commit
  26. 09 Jul, 2018 1 commit
  27. 07 Jun, 2018 1 commit
  28. 05 Jun, 2018 1 commit
  29. 03 May, 2018 1 commit
  30. 23 Apr, 2018 1 commit
    • Yegor's avatar
      a11y traversal: sort locally; use new sorting algorithm (#16253) · d3540962
      Yegor authored
      New a11y traversal:
      
      - sort direct sibling SemanticsNodes only
      - use new sorting algorithm
      - implement RTL
      - test semantics in traversal order by default
      - add AppBar traversal test
      - breaking: remove nextNodeId/previousNodeId from the framework
      - breaking: remove DebugSemanticsDumpOrder.geometricOrder
      d3540962
  31. 12 Mar, 2018 1 commit
  32. 06 Mar, 2018 1 commit
  33. 02 Feb, 2018 1 commit
  34. 08 Dec, 2017 1 commit
    • Chris Bracken's avatar
      Apply media bottom padding in BottomNavigationBar (#13431) · 276cbb1c
      Chris Bracken authored
      Updates scaffold to expose bottom padding to the associated
      BottonNavigationBar (if present). BottomNavigationBar is now responsible
      for adjusting itself to account for bottom padding.
      
      This change is necessary to support the updated BottomNavigationBar
      layout for the iPhone X.
      276cbb1c
  35. 25 Nov, 2017 1 commit