1. 15 Jan, 2019 1 commit
    • Ian Hickson's avatar
      Support setting the elevation of disabled floating action buttons (#24728) · 29928a46
      Ian Hickson authored
      Previously, a disabled floating action button always had zero
      elevation, which looks dumb.
      
      This also fixes the issue whereby highlightElevation was not honoured
      on floating action buttons.
      
      This also fixes an issue I found during testing whereby setState was
      being called during build when onHighlightChanged fired due to
      onPressed becoming null while a gesture is ongoing (which triggers an
      onTapCancel synchronously during build).
      29928a46
  2. 24 Dec, 2018 1 commit
  3. 18 Dec, 2018 2 commits
  4. 12 Sep, 2018 1 commit
  5. 30 Aug, 2018 1 commit
    • MH Johnson's avatar
      [Material] Fix 20051 FAB tooltip touch target (#21084) · 19c96282
      MH Johnson authored
      * [FAB] Updated tooltip touch target.
      
      * Remove "new" keyword
      
      * [FAB] Updated tooltip touch target.
      
      * "long press button edge"
      
      * remove new
      
      * remove new
      
      * put "new" keywords back in
      
      * Remove check for childless tooltip
      
      * Added regression test - tooltip works on edge of FAB which has no child.
      
      Added helper method to find the right edge of a in the tests.
      
      * Changed "find.byType(text)" to "find.text('Add')"
      19c96282
  6. 24 Aug, 2018 1 commit
  7. 02 Aug, 2018 1 commit
  8. 27 Jul, 2018 1 commit
  9. 23 Jul, 2018 1 commit
  10. 19 Jul, 2018 1 commit
  11. 16 Jul, 2018 2 commits
  12. 09 Jul, 2018 1 commit
  13. 03 Jul, 2018 2 commits
  14. 21 Jun, 2018 1 commit
    • amirh's avatar
      Move the notch computation from the FAB to the BAB. (#18372) · c39f2f26
      amirh authored
      Move the notch computation from the FAB to the BAB.
      
      The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled.
      That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB.
      
      This CL uncouples the FAB and the notch computation.
      With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate.
      
      This includes multiple breaking changes:
        * Scaffold.setFloatingActionButtonNotchFor is deleted.
        * The ComputeNotch type is deleted.
        * The hasNotch property of BottomAppBar is deleted.
        * The notchMargin property of FloatingActionButton is deleted.
      
      Quick migration guide from the previous API:
      
      | Previous API | New API |
      | ------------------|-------------|
      | BottomAppBar(hasNotch: false) | BottomAppBar() |
      | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) |
      | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
      c39f2f26
  15. 05 Jun, 2018 1 commit
  16. 30 May, 2018 1 commit
  17. 03 May, 2018 1 commit
  18. 03 Apr, 2018 1 commit
  19. 29 Mar, 2018 1 commit
  20. 23 Mar, 2018 1 commit
  21. 23 Feb, 2018 1 commit
  22. 21 Feb, 2018 1 commit
    • amirh's avatar
      Initial implementation of BottomAppBar (#14713) · 7996d7fb
      amirh authored
      * add a FAB NotchMaker to ScaffoldGeometry
      
      * add a notchMaker to FloatingActionButton
      
      * Initial implementation of BottomAppBar
      
      Mainly includes the notch making logic.
      Not yet tested as currently there is no way to make the FAB and the BAB
      overlap, once #14368 to lands we could add unit tests to the
      BottomAppBar as well.
      
      * use a closeable for clearing the FAB notchmaker
      7996d7fb
  23. 31 Jan, 2018 1 commit
  24. 21 Dec, 2017 1 commit
  25. 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
  26. 27 May, 2017 1 commit
    • Ian Hickson's avatar
      Much work on the documentation (#10331) · f50caddf
      Ian Hickson authored
      Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details.
      
      Clarified "elevation" throughout.
      
      Added docs to InkResponse and InkWell.
      
      Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid.
      
      Fixes #10317.
      Fixes #10316.
      Fixes #10267. (sort of, see comment therein)
      Fixes #9331. (sort of, see comment therein)
      Fixes #9407. (sort of, see comment therein)
      f50caddf
  27. 21 May, 2017 1 commit
  28. 03 May, 2017 1 commit
  29. 13 Apr, 2017 1 commit
  30. 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
  31. 23 Feb, 2017 1 commit
  32. 20 Jan, 2017 1 commit
  33. 19 Nov, 2016 1 commit
  34. 10 Nov, 2016 1 commit
    • Chris Bracken's avatar
      Add accentTextTheme and accentIconTheme to ThemeData (#6808) · d0ff41ec
      Chris Bracken authored
      These define a TextTheme and IconTheme that contrast with the accent
      colour brightness. Also adjust default accentColorBrightness to match
      Material spec examples (dark text/icons on teal in Dark theme).
      
      Update material components to use accentTextTheme, accentIconTheme:
      * DatePicker selection
      * Floating action button icon
      * TimePicker selection
      * Slider label text
      d0ff41ec
  35. 03 Nov, 2016 1 commit
  36. 23 Oct, 2016 1 commit
  37. 02 Aug, 2016 1 commit
    • Adam Barth's avatar
      Improve performance of Pesto hero animation (#5182) · 4086e7a3
      Adam Barth authored
      Previously we were resizing a paragraph of text during the animation. Now we
      animate the text and the image separately. Also, add a default hero tag for
      FloatingActionButton so that it animates as part of the hero transition as
      well.
      4086e7a3