MaxLength constructor

const MaxLength(
  1. int max, [
  2. String? error
])

Implementation

const MaxLength(this.max, [String? error]) : super(error);