ToggleElement constructor

ToggleElement({
  1. Widget? background,
  2. Widget? foreground,
})

Implementation

ToggleElement({
  this.background,
  this.foreground,
});