1. 04 Nov, 2018 1 commit
    • sjindel-google's avatar
      Fix text field clipping when erasing rapidly. (#23894) · db9fe3f8
      sjindel-google authored
      `RenderEditable.paint` assumes that if the length of the text fits within the
      visible region, then the text will be rendered at the start of the region and be
      completely visible. This is not always true, since the text may still be
      rendered at an offset if an animation is ongoing when the text begins to fit.
      
      This fixes #22288 and #14121
      db9fe3f8
  2. 30 Oct, 2018 1 commit
  3. 12 Sep, 2018 1 commit
  4. 20 Jun, 2018 1 commit
  5. 12 Mar, 2018 1 commit
  6. 02 Feb, 2018 1 commit
  7. 31 Jan, 2018 1 commit
  8. 07 Sep, 2017 1 commit
  9. 21 Jul, 2017 1 commit
    • xster's avatar
      iOS text selection (#11224) · aa096b50
      xster authored
      Extract common text selection overlay logic from Material to Widget and create a Cupertino version of the overlays
      aa096b50
  10. 20 Jun, 2017 1 commit
    • Ian Hickson's avatar
      Text selection handles track scrolled text fields (#10805) · 6d32b339
      Ian Hickson authored
      Introduce CompositedTransformTarget and CompositedTransformFollower
      widgets, corresponding render objects, and corresponding layers.
      
      Adjust the way text fields work to use this.
      
      Various changes I needed to debug the issues that came up.
      6d32b339
  11. 03 May, 2017 1 commit
  12. 27 Apr, 2017 1 commit
  13. 21 Apr, 2017 1 commit
  14. 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
  15. 07 Apr, 2017 1 commit
  16. 04 Apr, 2017 1 commit
  17. 02 Apr, 2017 1 commit
    • Adam Barth's avatar
      Rationalize text input widgets (#9119) · ae899486
      Adam Barth authored
      After this patch, there are three major text input widgets:
      
       * EditableText. This widget is a low-level editing control that
         interacts with the IME and displays a blinking cursor.
      
       * TextField. This widget is a Material Design text field, with all the
         bells and whistles. It is highly configurable and can be reduced down
         to a fairly simple control by setting its `decoration` property to
         null.
      
       * TextFormField. This widget is a FormField that wraps a TextField.
      
      This patch also replaces the InputValue data model for these widgets
      with a Listenable TextEditingController, which is much more flexible.
      
      Fixes #7031
      ae899486
  18. 04 Mar, 2017 1 commit
  19. 18 Oct, 2016 1 commit
  20. 05 Oct, 2016 1 commit
  21. 21 Jun, 2016 1 commit
  22. 14 Jun, 2016 2 commits
    • pq's avatar
      Added asserts. · f5a4e632
      pq authored
      f5a4e632
    • pq's avatar
      Add missing returns. · 7a955487
      pq authored
      As of `1.18.0-dev-0`, these cases will get flagged.  In the meantime, the
      7a955487
  23. 26 May, 2016 1 commit
  24. 16 May, 2016 1 commit
  25. 13 May, 2016 1 commit
  26. 10 May, 2016 1 commit
  27. 04 May, 2016 1 commit