1. 13 Apr, 2017 1 commit
  2. 12 Apr, 2017 3 commits
    • xster's avatar
      Slight efficiency improvement on all page transitions (#9356) · 819bb539
      xster authored
      Remove intermediate animation listener
      819bb539
    • Hans Muller's avatar
      28bb89c6
    • 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
  3. 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
  4. 10 Apr, 2017 2 commits
  5. 08 Apr, 2017 3 commits
  6. 07 Apr, 2017 1 commit
  7. 06 Apr, 2017 1 commit
  8. 05 Apr, 2017 3 commits
  9. 04 Apr, 2017 6 commits
  10. 03 Apr, 2017 3 commits
    • Hans Muller's avatar
      bb5351b7
    • xster's avatar
      Make Cupertino page transitions match native behaviours (#9138) · 58ddde88
      xster authored
      * Moved stuff around yet
      
      * Fix depedencies
      
      * Add more dartdoc comments to packages
      
      * Remove Cupertino dependency on material
      
      * Removed mountain_view package and added page transition test
      
      * Fix analyze warnings
      
      * Remove commented code
      
      * Partial solution. Still need to stop the animation on the previous page for modal
      
      * Some review notes
      
      * Move the cupertino back gesture controller’s lifecycle management back to its parent
      
      * Reviews
      
      * Add background color
      
      * Directional curves, full screen transition
      
      * Don’t perform the exit animation if the incoming page is a dialog
      
      * It works!
      
      * Test structures
      
      * Add a bunch of more tests and fix the gallery
      
      * One more comment
      
      * Review notes
      
      * final controller
      
      * Use that sweet sweet `is!` keyword
      
      * Play golf, because I’m bitter that there’s no nullable `as` or something in dart
      
      * Remove a space
      
      * Review notes
      
      * Remove the last deprecated test
      58ddde88
    • xster's avatar
      Extract cupertino page transition out of material (#9059) · c7f98efb
      xster authored
      * Moved stuff around yet
      
      * Fix depedencies
      
      * Add more dartdoc comments to packages
      
      * Remove Cupertino dependency on material
      
      * Removed mountain_view package and added page transition test
      
      * Fix analyze warnings
      
      * Remove commented code
      
      * Some review notes
      
      * Move the cupertino back gesture controller’s lifecycle management back to its parent
      
      * Reviews
      
      * Add background color
      
      * final controller
      
      * Review notes
      c7f98efb
  11. 02 Apr, 2017 3 commits
    • Adam Barth's avatar
      Make it possible to center the text in a TextField (#9140) · 0b31c699
      Adam Barth authored
      Also, fix an issue where hint text wasn't visible when the
      InputDecoration was collapsed.
      
      Fixes #8541
      0b31c699
    • Adam Barth's avatar
      Remove old, draft dartdoc · 9946355e
      Adam Barth authored
      9946355e
    • 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
  12. 31 Mar, 2017 3 commits
    • Adam Barth's avatar
      Improve focus management (#9074) · 89aaaa9c
      Adam Barth authored
      We now have an explicit focus tree that we manage. Instead of using
      GlobalKeys to manage focus, we use FocusNode and FocusScopeNode objects.
      The FocusNode is Listenable and notifies when its focus state changes.
      
      Focus notifications trigger by tree mutations are now delayed by one
      frame, which is necessary to handle certain complex tree mutations. In
      the common case of focus changes being triggered by user input, the
      focus notificiation still arives in the same frame.
      89aaaa9c
    • Alexandre Ardhuin's avatar
      add @required when there's an assert not null (#9124) · 2de61a08
      Alexandre Ardhuin authored
      * add @required when there's an assert not null
      
      * address review comments
      2de61a08
    • xster's avatar
      Add FadeTransition to Android page transition (#9086) · 86e9fc1c
      xster authored
      * Add FadeTransition to Android page transition
      
      * Also move starting point up
      
      * Add test
      
      * Use const fractional offset
      86e9fc1c
  13. 29 Mar, 2017 2 commits
  14. 27 Mar, 2017 2 commits
  15. 26 Mar, 2017 1 commit
  16. 24 Mar, 2017 2 commits
  17. 23 Mar, 2017 1 commit
    • Luke's avatar
      Adds highlight + splash color properties to material button (#8643) · 1adfbd4e
      Luke authored
      * adds highlight + splash color properties to material button
      
      * add states to raised button + flat button
      
      * fixes an issue where the custom highlight would not be properly set
      
      * Add preliminary tests for theme highlight + splash and via theme
      
      * documentation changes. tweaks per code review feedback
      
      * comment out unused variable
      
      * remove unused import
      
      * documentation updates. removed commented code
      1adfbd4e
  18. 22 Mar, 2017 2 commits