1. 18 Mar, 2019 1 commit
    • Filip Hracek's avatar
      Add sample to forEachTween (#29195) · 644f499a
      Filip Hracek authored
      The current documentation for `AnimatedWidgetBaseState.forEachTween` is exhaustive but a little hard to grok. This dartdoc example provides some clarity.
      644f499a
  2. 09 Mar, 2019 1 commit
  3. 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
  4. 29 Jan, 2019 1 commit
  5. 08 Jan, 2019 1 commit
  6. 18 Dec, 2018 2 commits
  7. 08 Nov, 2018 1 commit
  8. 16 Oct, 2018 1 commit
  9. 23 Sep, 2018 1 commit
  10. 14 Sep, 2018 1 commit
  11. 12 Sep, 2018 1 commit
  12. 07 Sep, 2018 1 commit
  13. 30 Aug, 2018 1 commit
  14. 28 Aug, 2018 1 commit
  15. 24 Aug, 2018 1 commit
  16. 15 Aug, 2018 1 commit
  17. 09 Aug, 2018 1 commit
  18. 03 Aug, 2018 1 commit
    • liyuqian's avatar
      Add Clip enum to Material and related widgets (#18576) · 9ffa1c51
      liyuqian authored
      See details in our proposal for this breaking API change and #18057. This PR setup all code paths to allow the change but doesn't change the clip behavior by itself. We'll change `defaultClipBehavior` from `Clip.antiAlias` to `Clip.none` in the following PR to change the clip behavior and update tests.
      9ffa1c51
  19. 31 Jul, 2018 1 commit
  20. 20 Jul, 2018 1 commit
    • Ian Hickson's avatar
      Increase verbosity on bots during setup and other minor cleanup (#19526) · 35346b49
      Ian Hickson authored
      The verbosity change is to help track down timeouts that currently look like:
      
      ```
      C:\Windows\Temp\flutter sdk>call bin\flutter.bat config --no-analytics
      Checking Dart SDK version...
      Downloading Dart SDK from Flutter engine c5a63d28bf3735569c8187753bc490d8351a8363...
      Unzipping Dart SDK...
      Updating flutter tool...
      ```
      35346b49
  21. 21 Jun, 2018 1 commit
  22. 19 Jun, 2018 1 commit
  23. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  24. 11 Jun, 2018 1 commit
    • Greg Spencer's avatar
      Update typedef syntax to use Function notation and turn on lint for old notation. (#18362) · 6c56bb24
      Greg Spencer authored
      Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.
      
      Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.
      
      No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
      6c56bb24
  25. 07 Jun, 2018 1 commit
    • matthew-carroll's avatar
      Extracted an ImplicitlyAnimatedWidgetState from AnimatedWidgetBaseState (#18181) · 3bc906d3
      matthew-carroll authored
      Extracted a superclass from AnimatedWidgetBaseState that is called ImplicitlyAnimatedWidgetState. ImplicitlyAnimatedWidgetState implicitly animates, but it does not call setState() automatically. Subclasses must respond to animation changes themselves. This is a useful optimization for Widgets whose render objects listen to animations directly. (#18173)
      3bc906d3
  26. 05 Jun, 2018 1 commit
  27. 30 May, 2018 2 commits
  28. 20 Mar, 2018 1 commit
  29. 11 Mar, 2018 1 commit
  30. 16 Feb, 2018 1 commit
  31. 21 Dec, 2017 1 commit
  32. 14 Dec, 2017 2 commits
  33. 13 Nov, 2017 1 commit
  34. 09 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Add an UnconstrainedBox and factor out debug overflow indicator. (#12856) · 3541ad0a
      Greg Spencer authored
      UnconstrainedBox will allow its child to size itself as if it had no constraints, and then attempt to fit around that object, until its own constraints are exceeded, in which case it will clip and display an overflow warning.
      
      I also factored out DebugOverflowIndicator, which will draw overflow indicators on containers which overflow but aren't expected to.
      3541ad0a
  35. 07 Nov, 2017 1 commit
    • Sebastiano Poggi's avatar
      Surface elevation shadow colour on Material (#12881) · dfd1ffa7
      Sebastiano Poggi authored
      * Surface shadowColor from RenderPhysicalModel to Material
      
      * Fix typo in material_test
      
      * Add nullability info to documentation
      
      * Add support for animating elevation shadow color
      
      * Add shadowColor to Material's debugFillProperties()
      
      * Add missing default value for elevation in Material debugFillProperties()
      
      * Add missing non-null asserts for animate flags in AnimatedPhysicalModel
      
      * Add test for shadow color animating smoothly
      dfd1ffa7
  36. 02 Nov, 2017 1 commit
    • Greg Spencer's avatar
      Adding proper accommodation for textScaleFactor in chips, and StadiumBorder border. (#12533) · 05e10633
      Greg Spencer authored
      In order to allow chips to be properly drawn when they expand in size (without
      using IntrinsicHeight), I needed a BoxDecoration shape that would be dependent
      upon the rendered height of the widget. This seemed to be pretty generally
      useful, so I added a new ShapeDecoration called StadiumBorder. It uses the
      minimum dimension to adjust the BorderRadius of a rounded rect in the shape
      decoration.
      
      I also converted some uses of BoxShape to be case statements, updated the
      chips to use the StadiumBorder decoration, and updated some of the metrics to match
      the Material spec, as well as implementing lerping to and from StadiumBorder.
      05e10633
  37. 02 Oct, 2017 1 commit
    • Adam Barth's avatar
      Add Alignment, which will replace FractionalOffset (#12342) · 2b126bcd
      Adam Barth authored
      Unlike FractionalOffset, Alignment uses the center as the zero of the
      coordinate system, which makes the RTL math work out much cleaner.
      
      Also, make FractionalOffset into a subclass of Alignment so that clients
      can continue to use FractionalOffset.
      2b126bcd