wrap method
Returns a copy of LinearProgressIndicatorTheme with the specified child
.
Implementation
@override
Widget wrap(
BuildContext context,
Widget child,
) {
final LinearProgressIndicatorTheme? linearProgressIndicatorTheme =
context.findAncestorWidgetOfExactType<LinearProgressIndicatorTheme>();
return identical(this, linearProgressIndicatorTheme)
? child
: LinearProgressIndicatorTheme(data: data, child: child);
}