1. 20 Mar, 2019 1 commit
    • Anthony's avatar
      [Material] Create a FloatingActionButton ThemeData and honor it within the... · bdf582fd
      Anthony authored
      [Material] Create a FloatingActionButton ThemeData and honor it within the FloatingActionButton (#28735)
      
      Adds a FloatingActionButtonThemeData so that FABs can be themed at the Theme level and independently. The properties that are now on the theme must be defaulted at the build level, in order to respect any contributing theme properties. Because of this, some tests had to be modified to look at properties after they are built. Also, since default behaviors are now tested in the FAB Theme test, some default tests in the FAB test no longer applied and were removed.
      
      The themable properties are:
      -backgroundColor
      -foregroundColor
      -elevation
      -disabledElevation
      -highlightElevation
      -shape
      bdf582fd
  2. 04 Mar, 2019 1 commit
  3. 28 Feb, 2019 1 commit
    • Greg Spencer's avatar
      Fix spelling errors. (#28657) · ccdd5057
      Greg Spencer authored
      Fix the spelling errors in the dartdocs for the framework.
      
      There are no functionality changes here, just documentation fixes.
      ccdd5057
  4. 22 Feb, 2019 1 commit
  5. 29 Jan, 2019 1 commit
  6. 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
  7. 24 Dec, 2018 1 commit
  8. 18 Dec, 2018 2 commits
  9. 12 Sep, 2018 1 commit
  10. 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
  11. 24 Aug, 2018 1 commit
  12. 02 Aug, 2018 1 commit
  13. 27 Jul, 2018 1 commit
  14. 23 Jul, 2018 1 commit
  15. 19 Jul, 2018 1 commit
  16. 16 Jul, 2018 2 commits
  17. 09 Jul, 2018 1 commit
  18. 03 Jul, 2018 2 commits
  19. 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
  20. 05 Jun, 2018 1 commit
  21. 30 May, 2018 1 commit
  22. 03 May, 2018 1 commit
  23. 03 Apr, 2018 1 commit
  24. 29 Mar, 2018 1 commit
  25. 23 Mar, 2018 1 commit
  26. 23 Feb, 2018 1 commit
  27. 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
  28. 31 Jan, 2018 1 commit
  29. 21 Dec, 2017 1 commit
  30. 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
  31. 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
  32. 21 May, 2017 1 commit
  33. 03 May, 2017 1 commit
  34. 13 Apr, 2017 1 commit
  35. 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
  36. 23 Feb, 2017 1 commit
  37. 20 Jan, 2017 1 commit