CustomSemanticsAction constructor

const CustomSemanticsAction({@required String label })

Creates a new CustomSemanticsAction.

The label must not be null or the empty string.

Implementation

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