YaruWindowControl constructor

const YaruWindowControl({
  1. Key? key,
  2. required YaruWindowControlType type,
  3. YaruWindowControlPlatform? platform = YaruWindowControlPlatform.yaru,
  4. required GestureTapCallback? onTap,
  5. Color? foregroundColor,
  6. Color? backgroundColor,
})

Implementation

const YaruWindowControl({
  super.key,
  required this.type,
  this.platform = YaruWindowControlPlatform.yaru,
  required this.onTap,
  this.foregroundColor,
  this.backgroundColor,
});