ThemeBuilder.theme constructor

const ThemeBuilder.theme(
  1. ThemeData? theme, {
  2. required WidgetBuilder builder,
  3. Key? key,
})

Creates a widget that delegates its build to a callback.

Implementation

const ThemeBuilder.theme(
  this.theme, {
  required this.builder,
  Key? key,
}) : super(key: key);