CalendarEventModalOptions<T extends CalendarEvent> class
Constructors
-
CalendarEventModalOptions({List<
CalendarModalInfoEntry? Function(T event, bool dialog)> infoEntryBuilders = const [], List<Widget? Function(T event, bool dialog)> bottomActionBuilders = const [], Widget? extraContentBuilder(T event, bool dialog)?, Future<bool> onClosePressed(T event)?, Future<bool> onEditPressed(T event)?, Future<bool> onDeletePressed(T event)?}) -
const
Properties
-
bottomActionBuilders
→ List<
Widget? Function(T event, bool dialog)> -
final
- extraContentBuilder → Widget? Function(T event, bool dialog)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
infoEntryBuilders
→ List<
CalendarModalInfoEntry? Function(T event, bool dialog)> -
final
-
onClosePressed
→ Future<
bool> Function(T event)? -
final
-
onDeletePressed
→ Future<
bool> Function(T event)? -
final
-
onEditPressed
→ Future<
bool> Function(T event)? -
final
- 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
-
of<
T extends CalendarEvent> (BuildContext context) → CalendarEventModalOptions< T>