ThemeBuilder constructor

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

Creates a widget that delegates its build to a callback.

Implementation

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