stargazing-dino / async_button_builder

A helper builder to create loading buttons in Flutter
https://pub.dev/packages/async_button_builder
MIT License
29 stars 9 forks source link

Better a11y support #12

Open stargazing-dino opened 3 years ago

stargazing-dino commented 3 years ago

I think I can add semantics around the various children of the button builder. Could be as simple as

loadingWidget = Semantics(
  child: loadingWidget,
  label: 'This button is loading',
  readOnly: true,
  enabled: false,
)