highlightShape property Null safety

BoxShape highlightShape
final

The shape (e.g., circle, rectangle) to use for the highlight drawn around this part of the material when pressed, hovered over, or focused.

The same shape is used for the pressed highlight (see highlightColor), the focus highlight (see focusColor), and the hover highlight (see hoverColor).

If the shape is BoxShape.circle, then the highlight is centered on the InkResponse. If the shape is BoxShape.rectangle, then the highlight fills the InkResponse, or the rectangle provided by getRectCallback if the callback is specified.

See also:

Implementation

final BoxShape highlightShape;