build method

  1. @override
Widget build(
  1. BuildContext context,
  2. IndicatorState state
)
override

Build indicator widget.

Implementation

@override
Widget build(BuildContext context, IndicatorState state) {
  assert(state.axis == Axis.vertical,
      'BezierCircleHeader does not support horizontal scrolling.');
  assert(!state.reverse, 'BezierCircleHeader does not support reverse.');
  return _BezierCircleIndicator(
    key: key,
    state: state,
    foregroundColor: foregroundColor,
    backgroundColor: backgroundColor,
  );
}