Why I did a accessibility analysis on flutter app getting message as follows:
This item may not have a label readable by screen readers.
My widget has this code:
Semantics(
label: 'Login page.',
child: Scaffold(
backgroundColor: Colors.grey[900],
body: Container(
padding: EdgeInsets.all(25),
child: Center(
child: Text("My app!!!", style: labelTextStyle, semanticsLabel: 'app of semantic',)
),
),
),
);
How to fix this?