LoadingIndicator constructor

const LoadingIndicator({
  1. Key? key,
  2. double? size = 32,
  3. Color? color,
})

Creates a LoadingIndicator widget.

Parameters:

  • size: The size of the loading indicator in logical pixels (default is 32).
  • color: The color of the loading indicator (optional, uses theme primary color if not provided).

Implementation

const LoadingIndicator({
  super.key,
  this.size = 32,
  this.color,
});