LuneViewType enum

An enum representing the different types of views available in the Lune SDK.

This enum provides a type-safe way to specify which view you want to display when using the Lune.getView method. Each view type corresponds to a specific visualization or data display component in the SDK.

Example usage:

final view = lunePlugin.getView(LuneViewType.CASHFLOW);
Inheritance
Available extensions

Values

categorySpendChart → const LuneViewType

Displays a chart showing spending by category

const LuneViewType('category_spend_chart')
cashflowChart → const LuneViewType

Displays a chart showing cash flow over time

const LuneViewType('cashflow_chart')
categoryTrendChart → const LuneViewType

Displays a chart showing spending trends by category

const LuneViewType('category_trend_chart')
brandTrendChart → const LuneViewType

Displays a chart showing spending trends by brand

const LuneViewType('brand_trend_chart')
brandListView → const LuneViewType

Displays a list of brands and their associated spending

const LuneViewType('brand_list')
transactionListView → const LuneViewType

Displays a list of transactions with details

const LuneViewType('transaction_list')
expenseView → const LuneViewType

Displays the main expense view with spending overview

const LuneViewType('spend')
cashflowView → const LuneViewType

Displays the main cash flow view with income and expenses

const LuneViewType('cashflow')
budgetView → const LuneViewType

Displays the main budget view with spending and allocation information

const LuneViewType('budget')
brandTrendsView → const LuneViewType

Displays the main brand trends view with spending patterns

const LuneViewType('brand_trend')
categoryTrendView → const LuneViewType

Displays the main category trend view with spending patterns

const LuneViewType('category_trend')

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
The string identifier used by the native platform to identify the view type
final
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

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

fromIdentifier(String identifier) LuneViewType?
Returns the LuneViewType for a given identifier string

Constants

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