buildSemanticsWrapper method

Widget buildSemanticsWrapper({
  1. required BuildContext context,
  2. required Widget child,
})

Implementation

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