1. 06 Oct, 2017 1 commit
    • gspencergoog's avatar
      Adding proper accommodation for textScaleFactor in bottom navigation bar. (#12421) · 8d41fa78
      gspencergoog authored
      This updates the bottom navigation bar to be able to handle more general widgets in the place of the label in the bottom navigation bar, so that Text with a textScaleFactor larger than 1.0 will behave nicely in a bottom navigation bar.
      
      It also means that other widgets given instead of a Text widget for the label will work more predictably.
      
      I also vastly simplified the layout logic, eliminating many computations that were not needed, and refactored the build function to use a separate private navigation tile widget.
      
      Also, the color splash animations were coming from the wrong location (they were coming from far to the right of the touched widget), so that works as specified now.
      8d41fa78
  2. 24 May, 2017 1 commit
    • xster's avatar
      CupertinoTabBar (#10264) · 69c25424
      xster authored
      Move some Cupertino colors to a common file. 
      
      Create a CupertinoTabBar widget to mimic iOS looks
      69c25424
  3. 27 Apr, 2017 1 commit
  4. 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
  5. 07 Apr, 2017 1 commit
  6. 04 Mar, 2017 1 commit
  7. 13 Jan, 2017 1 commit
    • Adam Barth's avatar
      Refactor IconThemeData.fallback (#7490) · 4955eef8
      Adam Barth authored
      Now IconThemeData.fallback is a factory constructor and IconThemeData.of() does
      the work of computing the fallback for its clients.
      
      Also, add tests for ImageIcon and ListItems.
      4955eef8
  8. 18 Dec, 2016 1 commit
  9. 06 Dec, 2016 1 commit
  10. 30 Nov, 2016 1 commit
  11. 22 Sep, 2016 1 commit