Skip to content

Instantly share code, notes, and snippets.

@creativecreatorormaybenot
Last active January 19, 2020 11:51
Show Gist options
  • Select an option

  • Save creativecreatorormaybenot/9e066b7a1c35ff56139a9733859ccc04 to your computer and use it in GitHub Desktop.

Select an option

Save creativecreatorormaybenot/9e066b7a1c35ff56139a9733859ccc04 to your computer and use it in GitHub Desktop.
@override
void describeSemanticsConfiguration(SemanticsConfiguration config) {
super.describeSemanticsConfiguration(config);
config
..label =
'Analog clock showing hour $hour${_use24HourFormat ? ' (and ${hour + 12})' : ''}, '
'minute $minute, and second $second'
..isReadOnly = true
..textDirection = TextDirection.ltr;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment