HrBuilder typedef

HrBuilder = Widget Function(BuildContext context, HrStyle style)

Builds the widget for a horizontal rule.

style is the resolved HrStyle, so a builder can follow the theme's thickness and colour rather than restating them.

Implementation

typedef HrBuilder = Widget Function(BuildContext context, HrStyle style);