1. 18 May, 2019 1 commit
  2. 03 May, 2019 1 commit
    • Greg Spencer's avatar
      Re-land: Add support for Tooltip hover (#31699) · 11e0a725
      Greg Spencer authored
      This is a re-land of #31561, after fixing performance regressions.
      
      Added change listening to the MouseTracker so that the Listener and tooltip can react to whether or not a mouse is connected at all. Added a change check to make sure Listener only repaints when something changed.
      
      Fixes #22817
      11e0a725
  3. 26 Apr, 2019 1 commit
  4. 25 Apr, 2019 1 commit
    • Greg Spencer's avatar
      Add support for Tooltip hover (#31561) · eca93640
      Greg Spencer authored
      Adds support for mouse pointer hovering to trigger tooltips, as well as custom timeouts for the tooltip durations, and a custom decoration. It also makes the tooltip be fully opaque when shown, and fade in over 150ms, and fade out over 75ms, and draw a 4.0 corner radius, all to conform with the material spec. Prior to this change, it was using a corner radius of 2.0 when shown, and faded in and out over 200ms.
      
      Fixes #22817
      eca93640
  5. 03 Apr, 2019 1 commit
  6. 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
  7. 01 Feb, 2019 1 commit
  8. 12 Sep, 2018 1 commit
  9. 02 Aug, 2018 1 commit
  10. 27 Jul, 2018 1 commit
  11. 23 Jul, 2018 1 commit
  12. 16 Jul, 2018 2 commits
  13. 05 Jun, 2018 1 commit
  14. 03 May, 2018 1 commit
  15. 28 Apr, 2018 1 commit
  16. 25 Mar, 2018 1 commit
  17. 22 Mar, 2018 1 commit
    • Greg Spencer's avatar
      Creating chips custom renderer, updating visual look. (#15596) · 4141946c
      Greg Spencer authored
      This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height.
      
      To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten.
      
      In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white.
      
      Updated and added tests.
      4141946c
  18. 20 Mar, 2018 1 commit
  19. 31 Jan, 2018 1 commit
  20. 21 Dec, 2017 1 commit
  21. 12 Oct, 2017 1 commit
  22. 15 Sep, 2017 1 commit
    • Ian Hickson's avatar
      Allow multiple FloatingActionButtons to be used on one screen. (#12074) · d6580489
      Ian Hickson authored
      * Allow FloatingActionButton to not have a heroTag.
      * Allow FloatingActionButton to not have a child.
      * Allow Tooltip to not have a child.
      * Improve the debug output of the default FloatingActionButton hero tag.
      * Improve the error message in the Hero clashing-tag case.
      * Improve the debug output of the Hero widget.
      * Improve the debug output of gesture-related widgets.
      * Minor improvements to documentation.
      * Fix some typos in comments.
      * Fix some style nits.
      d6580489
  23. 01 Sep, 2017 1 commit
  24. 21 Aug, 2017 1 commit
    • Jacob Richman's avatar
      Bare bones widget inspector support. (#10332) · 5462ddb9
      Jacob Richman authored
      Bare bones widget inspector support.
      
      Toggle the widget inspector from the flutter tool by pressing 'i'.
      When the widget inspector is select mode:
      Pointer down to to inspect a widget.
      Pointer click to finalize selection of a widget. You can now interact
      with the application as you normally would but with the inspected widget
      highlighted.
      Click the inspect icon in bottom left corner of screen to reactivate
      select mode.
      5462ddb9
  25. 18 Aug, 2017 1 commit
  26. 17 Aug, 2017 1 commit
  27. 03 Aug, 2017 1 commit
  28. 25 Jul, 2017 1 commit
  29. 23 Jun, 2017 1 commit
  30. 27 Apr, 2017 1 commit
  31. 23 Apr, 2017 1 commit
  32. 21 Apr, 2017 1 commit
  33. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  34. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  35. 31 Mar, 2017 1 commit
  36. 04 Mar, 2017 1 commit
  37. 31 Jan, 2017 1 commit
  38. 05 Jan, 2017 1 commit
    • Adam Barth's avatar
      Tooltip update can cause assert (#7338) · 86e5fce6
      Adam Barth authored
      We were trying to update the tooltip overlay entry, but that cannot work
      because the overlay entry might have already built. Instead, we keep the
      old value.
      
      Fixes #7151
      86e5fce6
  39. 31 Oct, 2016 1 commit