ExceptionBannerLocation enum

The location on the screen to show error banners.

Defaults to auto.

Inheritance

Constructors

ExceptionBannerLocation()
const

Values

auto → const ExceptionBannerLocation

Decide based off screen size which to show. Smaller devices including mobile phones will use SnackBars, while larger devices such as tablets will use MaterialBanners.

top → const ExceptionBannerLocation

Show MaterialBanners at the top of the screen.

bottom → const ExceptionBannerLocation

Show SnackBars at the bottom of the screen.

none → const ExceptionBannerLocation

Do not show banners for exceptions. Exceptions can still be handled using a custom onException callback.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
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

Constants

values → const List<ExceptionBannerLocation>
A constant List of the values in this enum, in order of their declaration.