BasicShape constructor

const BasicShape(
  1. {required GlobalKey<ShakeWidgetState> shakeKey,
  2. required List<GlobalKey<BlinkWidgetState>> shakeKeyColors,
  3. required double width,
  4. required ValueNotifier<SelectionModes> selectionMode,
  5. required ValueNotifier<List<CrossButton>> coloredButtons,
  6. required ValueNotifier<List<CrossButton>> selectedButtons,
  7. required ValueNotifier<bool> resetSignal,
  8. required ResultNotifier resultValueNotifier,
  9. Key? key}
)

A constructor that takes a key as a parameter.

Implementation

const BasicShape({
  required this.shakeKey,
  required this.shakeKeyColors,
  required this.width,
  required this.selectionMode,
  required this.coloredButtons,
  required this.selectedButtons,
  required this.resetSignal,
  required this.resultValueNotifier,
  super.key,
});