Fragment constructor

Fragment({
  1. required int baseColor,
})

Implementation

Fragment({required this.baseColor}) {
  pixels = List.empty(growable: true);
  min = max = Point(0, 0);
}