SwitchGetter extension

Retrieves the DiagnosticsProperty of the matched widget with propName of type T

on

Methods

getValue() bool
Returns the value of the matched Switch via Widget.toDiagnosticsNode