CustomSemanticsAction.overridingAction constructor Null safety
- {required String hint,
- required SemanticsAction action}
Creates a new CustomSemanticsAction that overrides a standard semantics action.
The hint must not be null or the empty string.
Implementation
const CustomSemanticsAction.overridingAction({required String this.hint, required SemanticsAction this.action})
: assert(hint != null),
assert(hint != ''),
assert(action != null),
label = null;