• 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
outline_button_test.dart 10.6 KB