GlassEditScope constructor

const GlassEditScope({
  1. Key? key,
  2. required Widget child,
  3. GlassEditController? controller,
  4. GlassEditMode initialMode = GlassEditMode.inactive,
  5. ValueChanged<GlassEditMode>? onModeChanged,
})

Creates a GlassEditScope with its own internal controller or a provided controller.

Implementation

const GlassEditScope({
  super.key,
  required this.child,
  this.controller,
  this.initialMode = GlassEditMode.inactive,
  this.onModeChanged,
});