fabUseShape property

bool fabUseShape
final

Use shape theming on Floating Action Button (FAB).

By setting fabUseShape to false it is possible to opt out of all shape theming on FABs and keep their M2 defaults, while still eg. keeping M3 defaults on other widgets or changing their border radius with the shared global value.

You may want to continue to keep the FAB round and extended FAB stadium shaped as before, despite otherwise using a rounder or M3 design. The circular M2 FAB goes well with those designs too.

Defaults to true.

Implementation

final bool fabUseShape;