ChampionTextField class

Inheritance

Constructors

ChampionTextField({required String id, TextField? fieldOverride, int? maxLines, String? textFieldTitle, String hintText = "", Widget? icon, Widget? leading, Widget? trailing, FormTheme? theme, String? title, String? description, int? maxLength, bool disabled = false, bool hideField = false, bool requestFocus = false, bool password = false, String? defaultValue, List<FormBuilderValidator>? validators, bool validateLive = false, dynamic onSubmit(FormResults results)?, dynamic onChange(FormResults results)?, Future<void> onDrop({TextEditingController controller, required String fieldId, required String formId})?, bool draggable = true, Future<void> onPaste({TextEditingController controller, required String fieldId, required String formId})?, Widget fieldLayout(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, List<FormBuilderError> errors, Widget renderedField) = fieldSimpleLayout, Widget fieldBackground(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, Widget renderedField) = fieldSimpleBackground})

Properties

defaultValue String?
final
description String?
finalinherited
disabled bool
finalinherited
draggable bool
final
fieldBackground Widget Function(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, Widget renderedField)
finalinherited
fieldLayout Widget Function(BuildContext context, FormFieldDef fieldDetails, FieldColorScheme currentColors, List<FormBuilderError> errors, Widget renderedField)
finalinherited
fieldOverride TextField?
final
hashCode int
The hash code for this object.
no setterinherited
hideField bool
finalinherited
hintText String
final
icon Widget?
finalinherited
id String
finalinherited
leading Widget?
final
maxLength int?
final
maxLines int?
final
onChange → dynamic Function(FormResults results)?
finalinherited
onDrop Future<void> Function({TextEditingController controller, required String fieldId, required String formId})?
final
onPaste Future<void> Function({TextEditingController controller, required String fieldId, required String formId})?
final
onSubmit → dynamic Function(FormResults results)?
finalinherited
password bool
final
requestFocus bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textFieldTitle String?
final
theme FormTheme?
finalinherited
title String?
finalinherited
trailing Widget?
final
validateLive bool
finalinherited
validators List<FormBuilderValidator>?
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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