DashboardItem class
Constructors
-
DashboardItem({required String label, required String id, required Widget builder(Map<
String, dynamic> parameters), required Widget icon, AppBarOptions? appBarOptions, Widget? selectedIcon, SearchArgs? search, bool overrideActions = false, List<Widget> actions = const [], Authorization authorization = const Authorization(types: [AccessType.admin()]), }) -
const
-
DashboardItem.items({required String label, required Widget icon, required List<
DashboardItem> subItems, Authorization authorization = const Authorization(types: [AccessType.admin()])}) -
const
Properties
-
actions
→ List<
Widget> -
This property is used to configure an AppBar.
final
- appBarOptions → AppBarOptions?
-
final
-
final
-
builder
→ Widget Function(Map<
String, dynamic> parameters) -
final
- hasBuilder → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget
-
final
- id → String
-
final
- label → String
-
final
-
final
- overrideActions → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → SearchArgs?
-
final
- selectedIcon → Widget?
-
final
-
subItems
→ List<
DashboardItem> -
final
Methods
-
copyWithAuthorization(
Authorization authorization) → DashboardItem -
copyWithIcon(
Widget icon) → DashboardItem -
copyWithLabel(
String label) → DashboardItem -
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