RemoveWidget constructor

const RemoveWidget({
  1. Key? key,
  2. required bool isTextInput,
  3. required EditableItem? activeItem,
  4. required bool isDeletePosition,
  5. required Duration animationsDuration,
})

Creates an instance of the widget.

The isTextInput, isDeletePosition, and animationsDuration parameters are required and must not be null. The activeItem parameter is optional.

Implementation

const RemoveWidget({
  super.key,
  required this.isTextInput,
  required EditableItem? activeItem,
  required this.isDeletePosition,
  required this.animationsDuration,
}) : _activeItem = activeItem;