attach method

  1. @override
Widget? attach(
  1. BuildContext context,
  2. ProgressViewController controller
)
override

Implementation

@override
Widget? attach(BuildContext context, ProgressViewController controller) {
  return CircularProgressIndicator(
    backgroundColor: controller.progressBackground,
    color: controller.progressForeground ?? context.primaryColor,
    strokeWidth: controller.progressStrokeWidth,
  );
}