SemanticsDebugger constructor

const SemanticsDebugger(
  1. {Key? key,
  2. required Widget child,
  3. TextStyle labelStyle = const TextStyle(color: Color(0xFF000000), fontSize: 10.0, height: 0.8)}
)

Creates a widget that visualizes the semantics for the child.

labelStyle dictates the TextStyle used for the semantics labels.

Implementation

const SemanticsDebugger({
  super.key,
  required this.child,
  this.labelStyle = const TextStyle(
    color: Color(0xFF000000),
    fontSize: 10.0,
    height: 0.8,
  ),
});