Pattern constructor

const Pattern({
  1. required double width,
  2. required double height,
  3. Color backgroundColor = const Color(0x00000000),
  4. Color foregroundColor = const Color(0xFF000000),
})

Creates a pattern.

Implementation

const Pattern({
  required this.width,
  required this.height,
  this.backgroundColor = const Color(0x00000000),
  this.foregroundColor = const Color(0xFF000000),
});