characters function
Generates single characters, drawn the way text draws them.
One character, so one code point -- which is a Dart string of one or two
code units, since Dart has no character type and a String is what a
character is. Takes the same alphabet arguments as text and none of its
lengths.
Implementation
TextGenerator characters({
String? codec,
int? minCodepoint,
int? maxCodepoint,
List<String>? categories,
List<String>? excludeCategories,
String? includeCharacters,
String? excludeCharacters,
}) => TextGenerator._((
minLength: 1,
maxLength: 1,
codec: codec,
minCodepoint: minCodepoint,
maxCodepoint: maxCodepoint,
categories: _copyOf(categories),
excludeCategories: _copyOf(excludeCategories),
includeCharacters: includeCharacters,
excludeCharacters: excludeCharacters,
));