t×tecexpressby TeKOcloud
DEv0.7.1
API & types / FLUTTER

TxSchedulerEditing.

Permissions to create, update and delete appointments; none disables all three actions.

TxSchedulerEditing

ParameterTypeDefaultMeaning
allowAddingbooltrueAllows creating appointments.
allowUpdatingbooltrueAllows updating appointments.
allowDeletingbooltrueShows list entry delete actions.
dart
import 'package:tecexpress/tecexpress.dart';

Future<void> example() async {
  const editing = TxSchedulerEditing(allowDeleting: false);
  print(editing.allowAdding);
  print(const TxSchedulerEditing.none().allowAdding);
}