AmbientMode constructor

const AmbientMode({
  1. Key? key,
  2. required AmbientModeWidgetBuilder builder,
  3. Widget? child,
  4. VoidCallback? onUpdate,
})

Implementation

const AmbientMode({
  Key? key,
  required this.builder,
  this.child,
  this.onUpdate,
}) : super(key: key);