1. 08 Oct, 2020 1 commit
  2. 02 Oct, 2020 1 commit
  3. 01 Oct, 2020 1 commit
  4. 27 Sep, 2020 1 commit
  5. 08 Aug, 2020 1 commit
  6. 04 Aug, 2020 1 commit
  7. 29 Jul, 2020 1 commit
  8. 28 Jul, 2020 2 commits
  9. 17 Jul, 2020 1 commit
  10. 18 Jun, 2020 2 commits
    • Justin McCandless's avatar
    • Jonah Williams's avatar
      [flutter_tools] add toggle `b` and service extension to change platform brightness (#59571) · e1f4cfb4
      Jonah Williams authored
      A frequent request from the last Flutter developer survey was for an easier method of testing light/dark mode changes. Currently, a user needs to manually change the theme settings or adjust phone settings to see the difference. Instead we should add a toggle from the CLI, and eventually devtools/Intellij/Vscode that allows developers to override the current setting.
      
      Fixes #59495
      
      Adds flutter.ext.brightnessOverride service protocol which either queries the current platform brightness, or overrides it to a new value. This accepts either Brightness.light or Brightness.dark as a value.
      
      Adds a CLI toggle b which allows the setting to be toggled manually.
      
      Requires an update to the MediaQuery, to conditionally use a debug override when not in release mode
      e1f4cfb4
  11. 16 Jun, 2020 1 commit
  12. 15 Jun, 2020 1 commit
  13. 11 Jun, 2020 1 commit
  14. 29 Jan, 2020 1 commit
  15. 27 Jan, 2020 1 commit
  16. 17 Jan, 2020 1 commit
  17. 16 Jan, 2020 1 commit
  18. 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
  19. 31 Oct, 2019 1 commit
  20. 09 Oct, 2019 1 commit
  21. 30 Sep, 2019 1 commit
  22. 09 Jul, 2019 1 commit
  23. 04 Apr, 2019 1 commit
  24. 06 Mar, 2019 1 commit
  25. 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
  26. 07 Feb, 2019 1 commit
  27. 05 Oct, 2018 1 commit
  28. 25 Sep, 2018 3 commits
  29. 12 Sep, 2018 1 commit
  30. 28 Aug, 2018 1 commit
  31. 20 Jun, 2018 1 commit
  32. 19 Jun, 2018 1 commit
  33. 22 Mar, 2018 1 commit
    • Ian Hickson's avatar
      Clean up the existing Navigator API. (#15718) · aba0379d
      Ian Hickson authored
      This is not a grand refactor yet, it's just cleaning up what we have
      already, so that people who keep using this API (e.g. dialogs) have
      something coherent to deal with.
      
      The major changes are that Navigator and NavigatorState have the same
      API now, that most of the examples use `<void>` instead of `<Null>`,
      that the navigator observer can see replaces, and that the `settings`
      is moved from ModalRoute to Route. I also cleaned up some of the API
      documentation.
      aba0379d
  34. 08 Feb, 2018 1 commit
    • Vyacheslav Egorov's avatar
      Strong mode fixes in tests (#14520) · 0556e14f
      Vyacheslav Egorov authored
      * Use explicit types for onClick handler in diagnostics_test.
      
      This test formats it to string and expects exact match.
      
      Before this change onClick had type () => dynamic in Dart 1 and () => Null in
      Dart 2.
      
      * Fix strong mode issues in packages/flutter/test/material/dropdown_test.dart
      
      Pass explicit type argument to renderObjectList(...) in expressions like
      
           List<RenderBox> l = tester.renderObjectList(...).toList();
      
      Dart 2 mode inference is not strong enough to infer RenderBox as a type argument
      fto renderObjectList and passes RenderObject instead, which later leads to
      runtime check failures (because List<RenderObject> is not List<RenderBox>).
      
      * Fix strong mode issues in packages/flutter/test/material/theme_test.dart.
      
      Pass type argument explicity to widgetList. Dart 2 type inference can't infer
      it by itself.
      
      * Fix strong mode issue packages/flutter/test/widgets/unique_widget_test.dart
      
      Pass correct type argument to GlobalKey.
      
      * Fix type annotation in packages/flutter/test/material/app_test.dart.
      
      pushNamed returns Future<Object> not Future<String>.
      0556e14f
  35. 15 Dec, 2017 1 commit
  36. 02 Oct, 2017 1 commit
    • gspencergoog's avatar
      Add framework support for system text scale factor. (#12180) · 18f0d3ae
      gspencergoog authored
      * Add framework-side support for system text scale factor.
      
      * Rolling engine to e3404b81a53ba3180c7623a6f2190ebb28518f30
        Additional changes rolled in with engine change:
          libtxt: implementation of GetRectsForRange that processes a line at a time - e3404b8
          Provide an entropy source to the Dart engine (#4161) - e1aa867
          libtxt: search for fallback fonts that can match emoji and CJK characters - 8061df1
          Roll skia to e4679fa06a. (#4157) - 267e7a8
          Update buildroot to 53fea9aebbcc39c6522731471a1a45960ee0685e (#4160) - 02ea7ae
          Revert engine Dart roll. (#4158) - 14aab33
          Add support for system text scale factor. (#4124) - b2a7f4b
          Include _http into sky_engine libraries for analyzer (#4154) - b930f10
          libtxt: Remove postprocess_line and improve tracking of X offsets - 86f95f0
          libtxt: remove redundant line_widths (#4152) - 14bf515
          Roll dart to ade37f931e90b0fdb8fe16d6bf6f089545da55b6 (#4151) - 6f1264f
      18f0d3ae