onCancel property

dynamic Function()? onCancel
final

If you use onCancel then you Have to manage IsSelected field in TextModel and isSelected

Implementation

final Function()? onCancel;