Results for “Enum”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
API reference
- EnumPropertyclass
DiagnosticsProperty that has an Enum as value. foundation.EnumProperty EnumProperty Enum Property class foundation
- EnumProperty.newconstructor
Create a diagnostics property that displays an enum. foundation.EnumProperty.EnumProperty.new EnumProperty new Enum Property.new constructor foundation
- RestorableEnumclass
RestorableProperty that knows how to store and restore an Enum type. widgets.RestorableEnum RestorableEnum Restorable Enum class widgets
- RestorableEnumNclass
RestorableProperty that knows how to store and restore a nullable Enum type. widgets.RestorableEnumN RestorableEnumN Restorable Enum N class widgets
- foundation.describeEnumfunction
Returns a short description of an enum value. foundation.describeEnum describeEnum describe Enum function foundation
- widgets.ClipboardStatusenum
enumeration of the status of the content on the user's clipboard. widgets.ClipboardStatus ClipboardStatus Clipboard Status enum widgets
- services.ModifierKeyenum
enum describing the type of modifier key that is being pressed. services.ModifierKey ModifierKey Modifier Key enum services
- widgets.StandardComponentTypeenum
enum identifying standard UI components. widgets.StandardComponentType StandardComponentType Standard Component Type enum widgets
- BitFieldclass
BitField over an enum (or other class whose values implement "index"). foundation.BitField BitField Bit Field class foundation
- services.SwipeEdgeenum
Enum representing the edge from which a swipe starts in a back gesture. services.SwipeEdge SwipeEdge Swipe Edge enum services
- widgets.PanAxisenum
This enum is used to specify the behavior of the InteractiveViewer when the user drags the viewport. widgets.PanAxis PanAxis Pan Axis enum widgets
- widgets.KeyEventResultenum
enum that describes how to handle a key event handled by a FocusOnKeyCallback or FocusOnKeyEventCallback. widgets.KeyEventResult KeyEventResult Key Event Result enum widgets
- widgets.FocusHighlightStrategyenum
enum to describe how the current value of FocusManager.highlightMode is determined. The strategy is set on FocusManager.highlightStrategy. widgets.FocusHighlightStrategy FocusHighlightStrategy Focus Highlight Strategy enum widgets
- widgets.LiveTextInputStatusenum
enumeration that indicates whether the current device is available for Live Text input. widgets.LiveTextInputStatus LiveTextInputStatus Live Text Input Status enum widgets
- widgets.FocusHighlightModeenum
enum to describe which kind of focus highlight behavior to use when displaying focus information. widgets.FocusHighlightMode FocusHighlightMode Focus Highlight Mode enum widgets
- services.KeyboardSideenum
enum describing the side of the keyboard that a key is on, to allow discrimination between which key is pressed (e.g. the left or right SHIFT
- ScrollableDetailsclass
Scrollable widget to inform inherited widgets like ScrollBehavior for decorating or enumerate the properties of combined Scrollables, such as TwoDimensionalScrollable. widgets.ScrollableDetails ScrollableDetails Scrollable Details class widgets
- widgets.WidgetStatesConstraintmixin
This mixin allows WidgetState enum values to be combined using the &, |, and ~ operators. widgets.WidgetStatesConstraint WidgetStatesConstraint Widget States Constraint mixin widgets
- material.Thumbenum
Identifier for a thumb. material.Thumb Thumb Thumb enum material
- widgets.Orientationenum
Whether in portrait or landscape. widgets.Orientation Orientation Orientation enum widgets
- widgets.BannerLocationenum
Where to show a Banner. widgets.BannerLocation BannerLocation Banner Location enum widgets
- animation.AnimationStatusenum
status of an animation. animation.AnimationStatus AnimationStatus Animation Status enum animation
- material.HourFormatenum
Describes how hours are formatted. material.HourFormat HourFormat Hour Format enum material
- material.DayPeriodenum
Whether the TimeOfDay is before or after noon. material.DayPeriod DayPeriod Day Period enum material
- widgets.DismissDirectionenum
direction in which a Dismissible can be dismissed. widgets.DismissDirection DismissDirection Dismiss Direction enum widgets
- rendering.WrapAlignmentenum
Wrap should align objects. rendering.WrapAlignment WrapAlignment Wrap Alignment enum rendering
- rendering.SelectionResultenum
result after handling a SelectionEvent. rendering.SelectionResult SelectionResult Selection Result enum rendering
- painting.TextOverflowenum
overflowing text should be handled. painting.TextOverflow TextOverflow Text Overflow enum painting
- material.DrawerAlignmentenum
possible alignments of a Drawer. material.DrawerAlignment DrawerAlignment Drawer Alignment enum material
- RestorableEnum.newconstructor
Creates a RestorableEnum. widgets.RestorableEnum.RestorableEnum.new RestorableEnum new Restorable Enum.new constructor widgets
- rendering.DecorationPositionenum
Where to paint a box decoration. rendering.DecorationPosition DecorationPosition Decoration Position enum rendering
- rendering.SelectionEventTypeenum
type of a SelectionEvent. rendering.SelectionEventType SelectionEventType Selection Event Type enum rendering
- material.StepperTypeenum
Defines the Stepper's main axis. material.StepperType StepperType Stepper Type enum material
- services.SystemSoundTypeenum
sound provided by the system. services.SystemSoundType SystemSoundType System Sound Type enum services
- painting.ResizeImagePolicyenum
Configures the behavior for ResizeImage. painting.ResizeImagePolicy ResizeImagePolicy Resize Image Policy enum painting
- rendering.SelectionExtendDirectionenum
direction to extend a selection. rendering.SelectionExtendDirection SelectionExtendDirection Selection Extend Direction enum rendering
- gestures.GestureRecognizerStateenum
possible states of a PrimaryPointerGestureRecognizer. gestures.GestureRecognizerState GestureRecognizerState Gesture Recognizer State enum gestures
- painting.BoxFitenum
should be inscribed into another box. painting.BoxFit BoxFit Box Fit enum painting
- widgets.ConnectionStateenum
state of connection to an asynchronous computation. widgets.ConnectionState ConnectionState Connection State enum widgets
- gestures.GestureDispositionenum
Whether the gesture was accepted or rejected. gestures.GestureDisposition GestureDisposition Gesture Disposition enum gestures
- rendering.HitTestBehaviorenum
behave during hit tests. rendering.HitTestBehavior HitTestBehavior Hit Test Behavior enum rendering
- painting.Axisenum
cardinal directions in two dimensions. painting.Axis Axis Axis enum painting
- rendering.FlexFitenum
child is inscribed into the available space. rendering.FlexFit FlexFit Flex Fit enum rendering
Version changes
- Deprecate describeEnum and update EnumProperty to be type strict3.16.0deprecated
global method `describeEnum` has been deprecated. Previous uses of `describeEnum(Enum.something)` should use `Enum.something.name` instead. Remove `describeEnum`. Dart 2.17 introduced enhanced enums, which added `Enum
- Adding 'linux' and 'windows' to TargetPlatform enum1.17.0breaking
values were added to the `TargetPlatform` enum that could require additional cases in switch statements that switch on a `TargetPlatform` and don't include a `default:` case
- - Improve analysis of enums and switch.3.0.3bugfix
Improve analysis of enums and switch
- `flutter_tool` : Remove redundant enum types inside the enum definition scope3.44.0tooling
flutter_tool` : Remove redundant enum types inside the enum definition scope (Tooling, by @AbdeMohlbi
- - Fix Autovalidate enum references in fix data2.0.3bugfix
Autovalidate enum references in fix data
- - Fix Autovalidate enum references in fix data2.0.2bugfix
Autovalidate enum references in fix data
- Removal of describeEnum3.47.0removed
removed from the framework because it's redundant with the `name` getter on `Enum` which was introduced in `Dart 2.14`. Historically, Flutter used `describeEnum` to return
- - `dart analyze` throws errors when using enhance Enums feature.3.0.2bugfix
dart analyze` throws errors when using enhance Enums feature
- Update Vulkan enum values3.47.0improvement
Update Vulkan enum values (Other changes, by @chingjun
- [Flutter GPU] Document the formats.dart enums3.47.0improvement
Flutter GPU] Document the formats.dart enums (Other changes, by @bdero
- [Tool] Remove redundant name fields in an enum3.44.0tooling
Tool] Remove redundant name fields in an enum (Tooling, by @AbdeMohlbi
- Remove `name` field form `SupportedPlatform` enum3.38.0tooling
Remove `name` field form `SupportedPlatform` enum (Tooling, by @AbdeMohlbi). SupportedPlatform
- Added AppLifecycleState.hidden3.13.0breaking
hidden` state was added to the `AppLifecycleState` enum to denote when the application is not visible. The new state `AppLifecycleState.hidden` was added to the `AppLifecycleState` enum
- [tool] Refactor artifacts.dart to use enhanced enums and reduce duplication3.47.0platform
tool] Refactor artifacts.dart to use enhanced enums and reduce duplication (Windows, by @bkonyi
- Remove redundant name field form `TargetPlatform` and `XCDeviceEventInterface` enums3.41.0tooling
Remove redundant name field form `TargetPlatform` and `XCDeviceEventInterface` enums (Tooling, by @AbdeMohlbi). TargetPlatform XCDeviceEventInterface
- Update some semantics flags updated to use enum (engine, framework, web)3.38.0improvement
Update some semantics flags updated to use enum (engine, framework, web) (Material, by @hannah
- IconData class marked as final3.44.0breaking
shaking assets and native code. Instead of implementing `IconData`, such as with an `enum` that supports dot shorthand, type safety, and an automated `.values` list