GeneratorForAnnotatedField<AnnotationType> class abstract

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildValidator(List? validators, {bool functionOnly = false}) String
checkboxField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
choiceChipField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
dateRangePickerField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
dateTimePickerField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
filterChipField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
generate(LibraryReader library, BuildStep buildStep) String
Generates Dart code for an input Dart library.
generateForAnnotatedField(FieldElement field, ConstantReader annotation, BuildStep buildStep) String
getAnnotation(Element element) → DartObject?
Returns the annotation of type AnnotationType of the given element, or null if it doesn't have any.
keyboardType(String type) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
radioField(String elementName, String elementType, Map<String, dynamic> map, {String? parent}) String
rangeSliderField(String elementName, String elementType, Map<String, dynamic> map, {String? parent}) String
sliderField(String elementName, String elementType, Map<String, dynamic> map, {String? parent}) String
switchField(String elementName, String type, Map<String, dynamic> map, {String? parent}) String
textFormField(String elementName, String elementType, Map<String, dynamic> map, {String? parent}) String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited