ActionArea constructor

const ActionArea({
  1. Key? key,
  2. required double diameter,
  3. required Icon? icon,
  4. required ({double x, double y}) position,
  5. required void onAccept(),
  6. Color backgroundColor = Colors.amber,
  7. Color borderColor = Colors.black,
})

Implementation

const ActionArea({
  super.key,
  required this.diameter,
  required this.icon,
  required this.position,
  required this.onAccept,
  this.backgroundColor = Colors.amber,
  this.borderColor = Colors.black,
});