KeyPadConfig class
Constructors
-
KeyPadConfig({KeyPadButtonConfig? buttonConfig, List<
String> inputStrings = _numbers, List<String> ? displayStrings, bool clearOnLongPressed = false}) -
const
Properties
-
Config for all
KeyPadButton
children.final - clearOnLongPressed → bool
-
Whether to clear the input when long pressing the clear key.
final
-
displayStrings
→ List<
String> -
The strings that are displayed to the user.
Mapped 1:1 to inputStrings.
Defaults to inputStrings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputStrings
→ List<
String> -
The strings the user can input.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{KeyPadButtonConfig? buttonConfig, List< String> ? inputStrings, List<String> ? displayStrings, bool? clearOnLongPressed}) → KeyPadConfig - Copies a KeyPadConfig with new values.
-
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