buildSemanticsWrapper method
Implementation
Widget buildSemanticsWrapper({
required BuildContext context,
required Widget child,
}) {
var expandedSemanticsValue = semanticsValue;
if (value != null) {
expandedSemanticsValue ??= '${(value! * 100).round()}%';
}
return Semantics(
label: semanticsLabel,
value: expandedSemanticsValue,
child: child,
);
}