CustomSemanticsAction constructor

const CustomSemanticsAction({
  1. required String label,
})

Creates a new CustomSemanticsAction.

The label must not be empty.

Implementation

const CustomSemanticsAction({required String this.label})
  : assert(label != ''),
    hint = null,
    action = null;