Permissions to create, update and delete appointments; none disables all three actions.
TxSchedulerEditing
| Parameter | Type | Default | Meaning |
|---|---|---|---|
| allowAdding | bool | true | Allows creating appointments. |
| allowUpdating | bool | true | Allows updating appointments. |
| allowDeleting | bool | true | Shows list entry delete actions. |
import 'package:tecexpress/tecexpress.dart';
Future<void> example() async {
const editing = TxSchedulerEditing(allowDeleting: false);
print(editing.allowAdding);
print(const TxSchedulerEditing.none().allowAdding);
}