CrossWidgetSimple.fromBasicShape constructor

CrossWidgetSimple.fromBasicShape(
  1. {required BasicShape shape,
  2. bool displayLetters = false,
  3. bool reference = false}
)

Implementation

CrossWidgetSimple.fromBasicShape({
  required BasicShape shape,
  this.displayLetters = false,
  this.reference = false,
}) : resultValueNotifier = ResultNotifier() {
  resultValueNotifier?.cross = shape;
}