Appearance enum
The appearance CSS property specifies the rendered appearance of replaced UI widget elements
such as form controls. Most commonly, such elements are given native, platform-specific styling
based on the operating system's theme, or a primitive appearance with styles that can be overridden
using CSS.
Read more: MDN appearance
Values
- none → const Appearance
-
Gives the widget a primitive appearance, making it stylable via CSS, while maintaining the widget's native functionality. This value does not affect non-widgets.
const Appearance('none') - auto → const Appearance
-
Sets interactive widgets to render with their OS-native appearance. Behaves as none on elements with no OS-native styling.
const Appearance('auto') - base → const Appearance
-
const Appearance('base') - baseSelect → const Appearance
-
Only relevant to the
<select>element and::picker(select)pseudo-element, allowing them to be styled.const Appearance('base-select') - searchfield → const Appearance
-
const Appearance('searchfield') - textArea → const Appearance
-
const Appearance('textarea') - checkbox → const Appearance
-
const Appearance('checkbox') - radio → const Appearance
-
const Appearance('radio') -
const Appearance('menulist') - listbox → const Appearance
-
const Appearance('listbox') - meter → const Appearance
-
const Appearance('meter') - progressBar → const Appearance
-
const Appearance('progress-bar') -
const Appearance('button') - textfield → const Appearance
-
const Appearance('textfield') -
const Appearance('menulist-button') - initial → const Appearance
-
const Appearance('initial') - inherit → const Appearance
-
const Appearance('inherit') - unset → const Appearance
-
const Appearance('unset') - revert → const Appearance
-
const Appearance('revert') - revertLayer → const Appearance
-
const Appearance('revert-layer')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The css value
final
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
Constants
-
values
→ const List<
Appearance> - A constant List of the values in this enum, in order of their declaration.