KatInputDecor class

Ready-made InputDecorations for the common KAT input styles.

Constructors

KatInputDecor()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Methods

noBorderWithPlaceholder(String placeholderText, {Color? color}) InputDecoration
Same as noBorder, with a hint shown while the field is empty.
roundBorder({String? suffixText, String? labelText, String? prefixText}) InputDecoration
An outlined border with rounded corners and optional prefix/suffix/ label text.

Constants

noBorder → const InputDecoration
No border and no content padding, e.g. for a field embedded inside another container that already provides its own border/padding.