OudsTextInputSuffixIconButton class

Configuration for a trailing (suffix) icon button in a text input.

Provides properties to customize the icon, its tinting behavior, and the press callback.

Parameters:

  • icon: An OudsIcon to display Note: Untinted icons must ensure sufficient contrast with the background for accessibility.
  • onPressed: Callback invoked when the icon button is pressed. If null, the button is disabled.

Constructors

OudsTextInputSuffixIconButton({required OudsIcon icon, VoidCallback? onPressed})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → OudsIcon
An optional OudsIcon to display
final
onPressed → VoidCallback?
Callback invoked when the icon button is pressed. If null, tapping the suffix icon will have no effect.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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