1. 13 May, 2020 1 commit
  2. 21 Apr, 2020 1 commit
  3. 07 Apr, 2020 1 commit
    • Greg Spencer's avatar
      Revise Action API (#42940) · 0f68b46f
      Greg Spencer authored
      This updates the Action API in accordance with the design doc for the changes: flutter.dev/go/actions-and-shortcuts-design-revision
      
      Fixes #53276
      0f68b46f
  4. 06 Apr, 2020 1 commit
  5. 02 Apr, 2020 1 commit
  6. 30 Mar, 2020 2 commits
  7. 11 Feb, 2020 1 commit
  8. 10 Feb, 2020 1 commit
    • Greg Spencer's avatar
      Update samples to work with Dartpad, and convert all that make… (#50377) · 9fb781a5
      Greg Spencer authored
      This PR modifies the existing API docs samples to use DartPad so that all of the samples are now interactive apps on the API docs site.
      
      It also removes the restriction for the max width of the description area so that the dartpad region can expand horizontally.
      
      I updated the first paragraph on the API docs to indicate that Flutter is more than just mobile now (same text as the README.md at the top level).
      
      I modified a few of the examples so that they looked nicer, and fit better on the page.
      
      I added the sample description text above each DartPad instance, since that often defines the context of the example.
      
      I removed animations and images when they were redundant with the sample content. There were a few that made sense to keep, so I did.
      9fb781a5
  9. 08 Feb, 2020 1 commit
  10. 07 Feb, 2020 1 commit
    • jimshepherd's avatar
      Use state value in DropdownButtonFieldForm (#37145) · 92a335e4
      jimshepherd authored
      The current implementation of DropdownButtonFormField does not pass the initial value to _DropdownButtonFormFieldState. As a result changes made through the child DropdownButton are not made to the FormFieldState and the widget is not updated unless a onChanged function is provided to the DropdownButtomFormField constructor.
      
      This change modifies DropdownButtonFormField to behave more consistently with other FormField widgets in how the Form state is handled.
      92a335e4
  11. 25 Jan, 2020 1 commit
  12. 09 Jan, 2020 1 commit
  13. 08 Jan, 2020 1 commit
  14. 17 Dec, 2019 1 commit
  15. 13 Dec, 2019 1 commit
  16. 05 Dec, 2019 1 commit
    • Greg Spencer's avatar
      Overridable default platform key bindings (#45102) · f7d16161
      Greg Spencer authored
      This adds actions and shortcuts arguments to WidgetsApp (and MaterialApp and CupertinoApp) to allow developers to override the default mappings on an application, and to allow for a more complex definition of the default mappings.
      
      I've stopped using SelectAction here, in favor of using ActivateAction for all activations, but haven't removed it, to avoid a breaking change, and to allow a common base class for these types of actions. This is because some platforms use the same mapping (web) for both kinds of activations (both select and activate).
      f7d16161
  17. 27 Nov, 2019 1 commit
    • Ian Hickson's avatar
      License update (#45373) · 449f4a66
      Ian Hickson authored
      * Update project.pbxproj files to say Flutter rather than Chromium
      
      Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
      
      * Update the copyright notice checker to require a standard notice on all files
      
      * Update copyrights on Dart files. (This was a mechanical commit.)
      
      * Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
      
      Some were already marked "The Flutter Authors", not clear why. Their
      dates have been normalized. Some were missing the blank line after the
      license. Some were randomly different in trivial ways for no apparent
      reason (e.g. missing the trailing period).
      
      * Clean up the copyrights in non-Dart files. (Manual edits.)
      
      Also, make sure templates don't have copyrights.
      
      * Fix some more ORGANIZATIONNAMEs
      449f4a66
  18. 22 Nov, 2019 1 commit
    • Alexandre Ardhuin's avatar
      make some BuildContext methods generics (#44189) · fcb40a05
      Alexandre Ardhuin authored
      * make BuildContext.{ancestorStateOfType,ancestorRenderObjectOfType,rootAncestorStateOfType} generic
      
      * make BuildContext.inheritFromWidgetOfExactType generic
      
      * make BuildContext.ancestorInheritedElementForWidgetOfExactType generic
      
      * make BuildContext.ancestorWidgetOfExactType generic
      
      * fix snippet
      
      * bump scoped_model on temp version
      
      * update names
      
      * Revert "bump scoped_model on temp version"
      
      This reverts commit d1fcbba028cdb07f44738d1652391692d1ea5ec0.
      
      * address review comments
      
      * fix ci
      
      * address review comments
      
      * repeat the deprecation notice
      
      * fix uppercase
      
      * use of recommanded deprecation syntax
      
      * address review comment
      fcb40a05
  19. 08 Nov, 2019 1 commit
    • Greg Spencer's avatar
      Make selected item get focus when dropdown is opened (#43722) · 19778f9e
      Greg Spencer authored
      As it stands, dropdowns currently do not focus the item that is selected, so if you select something on a dropdown, and then close it, and re-open it, then the new item is not auto-focused. This PR changes that so that selected value is focused by default when the dropdown is re-opened.
      19778f9e
  20. 05 Nov, 2019 1 commit
  21. 30 Oct, 2019 1 commit
  22. 28 Oct, 2019 2 commits
  23. 18 Oct, 2019 1 commit
  24. 14 Oct, 2019 1 commit
    • Greg Spencer's avatar
      Only dismiss dropdowns if the orientation changes, not the size. (#42482) · dee75839
      Greg Spencer authored
      This changes the DropDownButton so that instead of dismissing itself when any metrics change occurs, it only dismisses itself when the orientation changes.
      
      This gets around the fact that we can't currently have a dropdown and a text field on the same page because the keyboard disappearing when the dropdown gets focus causes a metrics change, and the dropdown immediately disappears when activated.
      
      It still will cause the keyboard to jump up and down between controls, but that's a larger issue. At least now we can use the two together again.
      dee75839
  25. 10 Oct, 2019 1 commit
  26. 09 Oct, 2019 2 commits
  27. 02 Oct, 2019 1 commit
  28. 27 Sep, 2019 1 commit
  29. 26 Sep, 2019 1 commit
  30. 24 Sep, 2019 2 commits
  31. 17 Sep, 2019 2 commits
  32. 16 Sep, 2019 1 commit
  33. 14 Sep, 2019 1 commit
  34. 10 Sep, 2019 1 commit
  35. 09 Aug, 2019 1 commit