BsInput class

Widget of Bootstrap Input Text and customize input text

Inheritance

Constructors

BsInput({Key? key, BsInputStyle style = BsInputStyle.outline, BsInputSize size = BsInputSize.md, String? hintText, String? hintTextLabel, FocusNode? focusNode, double? width, bool disabled = false, bool readOnly = false, int? minLines = 1, int? maxLines = 1, required TextEditingController controller, bool obscureText = false, bool autofocus = false, bool autocorrect = false, TextInputType? keyboardType, List<TextInputFormatter>? inputFormatters, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextCapitalization textCapitalization = TextCapitalization.none, TextDirection? textDirection, TextInputAction? textInputAction, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String>? onChange, FormFieldSetter<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, bool? showCursor, Color? cursorColor, double? cursorHeight, double cursorWidth = 2.0, Radius? cursorRadius, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), ScrollController? scrollController, ScrollPhysics? scrollPhysics, List<BsInputValidator> validators = const [], ToolbarOptions? toolbarOptions, IconData? prefixIcon, IconData? suffixIcon, VoidCallback? onTapPrefixIcon, VoidCallback? onTapSuffixIcon})
Construct BsInput
const

Properties

autocorrect bool
define autocorrect of BsInput
final
autofocus bool
define autofocus of BsInput
final
controller TextEditingController
define controller of BsInput
final
cursorColor Color?
define cusrorColor BsInput
final
cursorHeight double?
define cursorHeight BsInput
final
cursorRadius Radius?
define cursorRadius BsInput
final
cursorWidth double
define cursorWidth BsInput
final
disabled bool
define disabled of BsInput
final
focusNode FocusNode?
define focusNode of BsInput
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
define hintText of BsInput
final
hintTextLabel String?
define hintTextLabel of BsInput
final
inputFormatters List<TextInputFormatter>?
define inputFormatters of BsInput
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
define keyboardType of BsInput
final
maxLines int?
define maxLines of BsInput
final
minLines int?
define maxLines of BsInput
final
obscureText bool
define obscureText of BsInput
final
onChange ValueChanged<String>?
define onChange BsInput
final
onEditingComplete VoidCallback?
define onEditingComplete BsInput
final
onFieldSubmitted FormFieldSetter<String>?
define onFieldSubmitted BsInput
final
onSaved FormFieldSetter<String>?
define onSave BsInput
final
onTap GestureTapCallback?
define onTap BsInput
final
onTapPrefixIcon VoidCallback?
final
onTapSuffixIcon VoidCallback?
final
prefixIcon IconData?
final
readOnly bool
define readOnley of BsInput
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
define scrolLController BsInput
final
scrollPadding EdgeInsets
define scrollPadding BsInput
final
scrollPhysics ScrollPhysics?
define scrollPhysics BsInput
final
showCursor bool?
define showCursor BsInput
final
size BsInputSize
define size of BsInput
final
style BsInputStyle
define style of BsInput
final
suffixIcon IconData?
final
textAlign TextAlign
define textAlign of BsInput
final
textAlignVertical TextAlignVertical?
define textAlignVertical BsInput
final
textCapitalization TextCapitalization
define textCapitalization BsInput
final
textDirection TextDirection?
define textDirection [BsInput\
final
textInputAction TextInputAction?
define textInputAction BsInput
final
toolbarOptions ToolbarOptions?
final
validators List<BsInputValidator>
define validators BsInput
final
width double?
define width of BsInput
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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