CrossButton constructor
- {required GlobalKey<
CrossButtonState> globalKey, - required Pair<
int, int> position, - required GlobalKey<
ShakeWidgetState> shakeKey, - required List<
GlobalKey< shakeKeyColors,BlinkWidgetState> > - required ValueNotifier<
SelectionModes> selectionMode, - required ValueNotifier<
List< coloredButtons,CrossButton> > - required ValueNotifier<
List< selectedButtons,CrossButton> > - required List<
Row> buttons, - required ResultNotifier resultValueNotifier}
It's the constructor of the class.
Implementation
const CrossButton({
required this.globalKey,
required this.position,
required this.shakeKey,
required this.shakeKeyColors,
required this.selectionMode,
required this.coloredButtons,
required this.selectedButtons,
required this.buttons,
required this.resultValueNotifier,
}) : super(key: globalKey);