componentTheme property

FxComponentTheme get componentTheme

Returns the component theme for the context.

Implementation

FxComponentTheme get componentTheme => theme.extension<FxComponentTheme>()!;