NumpadContainer class

Inheritance

Constructors

NumpadContainer({Key? key, required Widget child, required bool show, required VoidCallback onDelete, TextStyle? textStyle, OnNumInput? onNumInput, NumButtonBuilder? numButtonBuilder, DeleteButtonBuilder? deleteButtonBuilder, Color backgroundColor = Colors.white, double keyboardHeight = 300, Duration duration = const Duration(milliseconds: 300)})
const

Properties

backgroundColor Color
Background color of keyboard area.
final
child Widget
final
deleteButtonBuilder → DeleteButtonBuilder?
Builder for delete button.
final
duration Duration
Animation duration of show/hide numpad. Default is 300ms.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardHeight double
The height of numpad. Default is 300.
final
numButtonBuilder → NumButtonBuilder?
Builder for num buttons.
final
onDelete VoidCallback
Callback for delete key tapped.
final
onNumInput OnNumInput?
Callback for when number key tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Set true to show numpad.
final
textStyle TextStyle?
Button text style.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<NumpadContainer>
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