YaruSelectableContainer constructor

const YaruSelectableContainer({
  1. Key? key,
  2. required Widget child,
  3. VoidCallback? onTap,
  4. required bool selected,
  5. BorderRadius? borderRadius,
  6. double radius = kYaruContainerRadius,
  7. EdgeInsetsGeometry? padding,
  8. Color? selectionColor,
  9. MouseCursor? mouseCursor,
})

Creates a Image Tile from the image path given in the path property.

Implementation

const YaruSelectableContainer({
  super.key,
  required this.child,
  this.onTap,
  required this.selected,
  this.borderRadius,
  this.radius = kYaruContainerRadius,
  this.padding,
  this.selectionColor,
  this.mouseCursor,
});