JumpTextfield class

Inheritance

Constructors

JumpTextfield({Key? key, required dynamic tappedJump(BuildContext context, int index), double groupSpacing = 10, int placeHolderPage = 1, Color colorBackGround = Colors.blue, String confirmTitle = "确定", Widget? confirmWidget, Color colorPrimary = Colors.white, Color backgroundColor = Colors.white54, Color borderColor = Colors.grey, double borderWidth = 1.0, double borderRadius = 5.0})

Properties

backgroundColor Color
Color of background. default is grey.
final
borderColor Color
Color of border. default is grey.
final
borderRadius double
radius of border. default is 5.0.
final
borderWidth double
width of border. default is 1.0.
final
colorBackGround Color
Color of background. default is white.
final
colorPrimary Color
Color of title. default is white.
final
confirmTitle String
title of confirmButton.
final
confirmWidget Widget?
you can pass in confirm widget
final
groupSpacing double
Spacing between button groups, default is 10.0
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
numberController TextEditingController
final
placeHolderPage int
placeholder for textfeild, always be page , default is 1
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tappedJump → dynamic Function(BuildContext context, int index)
clicked confirmButton, callback context and input index
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
doNothing() → dynamic
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