WidgetTheme constructor

const WidgetTheme({
  1. Widget loadingIndicator(
    1. BuildContext context,
    2. Color? color
    )? = _loadingIndicator,
})

Set the theme for the widget.

If you pass the theme data to UIMaterialApp, it will be used internally as the default for various widgets.

Implementation

const WidgetTheme({
  this.loadingIndicator = _loadingIndicator,
});