CreateMatchers<W extends Widget> extension

Extension on WidgetSelector that allows to generate matchers for the properties of a widget.

on

Methods

createMatcherString({Map<String, String> propNameOverrides = const {}, String? imports, bool filter(DiagnosticsNode node)?}) String?
Generates matchers for the properties of W.
printMatchers({Map<String, String> propNameOverrides = const {}}) → void
Prints the generated matchers for the properties of W to the console.
writeMatchersToFile({required String path, Map<String, String> propNameOverrides = const {}, String? imports, bool filter(DiagnosticsNode node)?}) → void
Writes the generated matchers for the properties of W to a file.