SemanticsDebuggerModifier constructor

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

Creates a widget that visualizes the semantics for the child.

The child argument must not be null.

labelStyle dictates the TextStyle used for the semantics labels.

Implementation

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