const Pattern( {super.key, required this.state, required this.child, required this.dimension, this.patternBackgroundColor});