BackgroundWidget constructor

const BackgroundWidget({
  1. Key? key,
  2. required List<Color> colors,
  3. required Widget child,
  4. bool? isLeftCorner,
})

Implementation

const BackgroundWidget({
  Key? key,
  required this.colors,
  required this.child,
  bool? isLeftCorner,
})  : isLeftCorner = isLeftCorner ?? false,
      super(key: key);