KeyPadButtonConfig class
Constructors
- KeyPadButtonConfig({double? size, double? fontSize, Color? foregroundColor, Color? backgroundColor, ButtonStyle? buttonStyle})
-
const
Properties
- backgroundColor → Color?
-
Button background color.
final
-
Base ButtonStyle that is overriden by other specified values.
final
- fontSize → double
-
Button font size.
final
- foregroundColor → Color?
-
Button foreground (text) color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → double
-
Button width and height.
final
Methods
-
copyWith(
{double? size, double? fontSize, Color? foregroundColor, Color? backgroundColor, ButtonStyle? buttonStyle}) → KeyPadButtonConfig - Copies a KeyPadButtonConfig with new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toButtonStyle(
) → ButtonStyle - Returns this config as a ButtonStyle.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited