backgroundColor property Null safety

Color? backgroundColor
override

Color of the track being filled by the linear indicator.

If LinearProgressIndicator.backgroundColor is null then the ambient ProgressIndicatorThemeData.linearTrackColor will be used. If that is null, then the ambient theme's ColorScheme.background will be used to draw the track.

Implementation

@override
Color? get backgroundColor => super.backgroundColor;