KBoolWeight constructor

KBoolWeight({
  1. required bool kBool,
  2. required Widget firstChild,
  3. Widget? secondChild,
  4. Key? key,
})

Implementation

KBoolWeight({
  required this.kBool,
  required this.firstChild,
  this.secondChild,
  Key? key,
})  : assert(kBool != null),
      assert(firstChild != null),
      super(key: key);