foregroundBuilder property

ButtonLayerBuilder? foregroundBuilder
final

Creates a Widget that contains the button's child parameter which is used instead of the button's child.

The returned widget is clipped by the button's ButtonStyle.shape, inset by the button's ButtonStyle.padding and aligned by the button's ButtonStyle.alignment.

See also:

Implementation

final ButtonLayerBuilder? foregroundBuilder;