1. 15 May, 2019 1 commit
  2. 30 Mar, 2019 1 commit
  3. 22 Mar, 2019 1 commit
  4. 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
  5. 28 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Fix spelling errors. (#28657) · ccdd5057
      Greg Spencer authored
      Fix the spelling errors in the dartdocs for the framework.
      
      There are no functionality changes here, just documentation fixes.
      ccdd5057
  6. 01 Feb, 2019 2 commits
  7. 30 Jan, 2019 1 commit
    • rami-a's avatar
      Add Material/Card borderOnForeground flag to allow border to be painted behind... · 327e3eff
      rami-a authored
      Add Material/Card borderOnForeground flag to allow border to be painted behind the child widget (#27297)
      
      In certain situations, a developer may require the border of a Material to be painted behind its child. For example a Card widget that has a full width image across the top half. In that scenario, the image should ideally be painted above the border with regards to z-position.
      
      This change exposes a flag on Material widget to achieve this behavior. Additionally, the same flag is exposed on Card widget to allow the Card widget to pass this down to its Material.
      
      I added a couple golden tests to verify this new behavior. Goldens are here:
      https://github.com/flutter/goldens/commit/46a3d26acbb1b0d72b6b02c30f03b9dbda7d5bdf
      327e3eff
  8. 29 Jan, 2019 1 commit
  9. 23 Dec, 2018 1 commit
  10. 18 Dec, 2018 2 commits
  11. 13 Dec, 2018 1 commit
  12. 14 Sep, 2018 1 commit
  13. 12 Sep, 2018 1 commit
  14. 24 Aug, 2018 1 commit
  15. 15 Aug, 2018 1 commit
  16. 09 Aug, 2018 1 commit
  17. 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
  18. 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
  19. 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
  20. 05 Jun, 2018 1 commit
  21. 30 May, 2018 2 commits
  22. 20 Mar, 2018 1 commit
  23. 07 Mar, 2018 1 commit
    • Josh Soref's avatar
      Spelling (#15229) · c5a5945e
      Josh Soref authored
      * spelling: accommodate
      
      * spelling: allotted
      
      * spelling: anonymous
      
      * spelling: artificial
      
      * spelling: associated
      
      * spelling: asset
      
      * spelling: button
      
      * spelling: canvas
      
      * spelling: compatibility
      
      * spelling: coverage
      
      * spelling: condition
      
      * spelling: decoration
      
      * spelling: deferring
      
      * spelling: diameter
      
      * spelling: direction
      
      * spelling: displacement
      
      * spelling: dropdown
      
      * spelling: needing
      
      * spelling: environment
      
      * spelling: exited
      
      * spelling: expansion
      
      * spelling: explore
      
      * spelling: families
      
      * spelling: horizontal
      
      * spelling: increment
      
      * spelling: indices
      
      * spelling: internationalization
      
      * spelling: labrador
      
      * spelling: localizations
      
      * spelling: midflight
      
      * spelling: milliseconds
      
      * spelling: minimum
      
      * spelling: multiple
      
      * spelling: multiplication
      
      * spelling: navigator
      
      * spelling: overridden
      
      * spelling: package
      
      * spelling: performance
      
      * spelling: platform
      
      * spelling: porsche
      
      * spelling: position
      
      * spelling: preceded
      
      * spelling: precede
      
      * spelling: precedence
      
      * spelling: print
      
      * spelling: property
      
      * spelling: readily
      
      * spelling: reproducibility
      
      * spelling: rounded
      
      * spelling: scroll
      
      * spelling: separate
      
      * spelling: separator
      
      * spelling: services
      
      * spelling: specific
      
      * spelling: specify
      
      * spelling: synchronously
      
      * spelling: through
      
      * spelling: timeout
      
      * spelling: triangle
      
      * spelling: trivial
      
      * spelling: unusual
      
      * spelling: then
      
      * spelling: vertically
      
      * spelling: visible
      
      * spelling: visited
      
      * spelling: voice
      c5a5945e
  24. 02 Mar, 2018 1 commit
  25. 07 Feb, 2018 4 commits
  26. 05 Feb, 2018 1 commit
  27. 02 Feb, 2018 1 commit
  28. 01 Feb, 2018 1 commit
    • amirh's avatar
      Use RRects instead of Paths when possible in Material. (#14404) · d9ef7df9
      amirh authored
      0672055a changed the Material widget to
      always use Paths for representing the outline.
      These paths are later used for clipping and drawing a shadow.
      This changed introduced a performance regression, see:
      https://github.com/flutter/flutter/issues/14403
      
      We did not expect a path that is a rounded rectangle to be less
      performant than a rounded rectangle, as Skia should be able to tell the
      path is just a rounded rectangle.
      Until we find a solution for this regression, we keep using RRect when
      we can represent the shape with it.
      d9ef7df9
  29. 31 Jan, 2018 2 commits
    • amirh's avatar
      Use const constructor for RoundedRectangleBorder. (#14384) · 06d12a78
      amirh authored
      This triggered an analysis failure only on the devicelab.
      06d12a78
    • amirh's avatar
      Support arbitrary shaped Material. (#14367) · 0672055a
      amirh authored
      For backward compatibility we keep supporting specifying the shape as a
      combination of MaterialType and borderRadius, and we just use that as a
      default when shapeBorder is null.
      
      To cleanup the implementation if shapeBorder was not specified we just
      translate the specified shape to a shapeBorder internally.
      I benchmarked paint, layout and hit testing, with the specialized shape
      clippers vs. the equivalent path clippers and did not see any
      significant performance difference.
      
      For testing, I extended the clippers/physicalShape matchers to match either the
      specialized shape or the equivalent shape.
      0672055a
  30. 27 Jan, 2018 1 commit
  31. 11 Jan, 2018 1 commit
    • Ian Hickson's avatar
      The Ink widget (#13900) · 09270dcb
      Ian Hickson authored
      This provides a way to draw colors, images, and general decorations on Material widgets, without interfering with InkWells that are further descendants of the widget.
      
      This thus provides a cleaner way to solve the issue of FlatButtons and InkWells not working when placed over Image widgets than the old hack of introducing a transparency Material.
      
      Fixes #3782.
      
      Also, some fixes to documentation, and remove a redundant property on the Image widget.
      09270dcb
  32. 21 Dec, 2017 1 commit
  33. 25 Nov, 2017 1 commit