OudsTextInputBorderModifier class

A class that provides the border color for the OudsTextInput based on its state and selection

Constructors

OudsTextInputBorderModifier.new(BuildContext context)

Properties

context BuildContext
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBorder(OudsTextInputControlState state, [bool isError = false, OudsTextInputStyle? style]) Border
Gets the borderSide based on the text input state and whether it is selected
getBorderRadius(BuildContext context, bool? border) BorderRadius
Static method to get the border radius for a text input based on the border parameter. Returns a BorderRadius object with the appropriate radius value.
getBorderSideByState(OudsTextInputControlState state) BorderSide
Returns a BorderSide based on the given OudsTextInputControlState.
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