enableAccessibility method Null safety

  1. @Deprecated('Call setSemantics(true) instead. ' 'This feature was deprecated after v2.3.0-12.1.pre.')
Future<void> enableAccessibility()
Deprecated('Call setSemantics(true) instead. ' 'This feature was deprecated after v2.3.0-12.1.pre.')">@Deprecated('Call setSemantics(true) instead. ' 'This feature was deprecated after v2.3.0-12.1.pre.')

Enables accessibility feature.

Implementation

@Deprecated(
  'Call setSemantics(true) instead. '
  'This feature was deprecated after v2.3.0-12.1.pre.'
)
Future<void> enableAccessibility() async {
  await setSemantics(true);
}