build static method
- BuildContext context
Returns the Widgets of this LoadersSection.
Implementation
static List<Widget> build(BuildContext context) {
final style = Theme.of(context).style;
return [
Headlines(
children: [
(
headline: 'CustomProgressIndicator.big()',
widget: CustomProgressIndicator.big(),
),
(
headline: 'CustomProgressIndicator.primary()',
widget: CustomProgressIndicator.primary(),
),
(
headline: 'CustomProgressIndicator.small()',
widget: CustomProgressIndicator.small(),
),
],
),
Headlines(
color: style.colors.onBackground,
children: [
(
headline: 'CustomProgressIndicator.bold()',
widget: CustomProgressIndicator.bold(),
),
],
),
];
}