Skip to content

Instantly share code, notes, and snippets.

@abhaysood
Created May 28, 2021 12:49
Show Gist options
  • Save abhaysood/4ab1a53b8122305318f816c3726ef6e1 to your computer and use it in GitHub Desktop.
Save abhaysood/4ab1a53b8122305318f816c3726ef6e1 to your computer and use it in GitHub Desktop.
Blog: Enrich the Flutter Inspector with Diagnosticable properties
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(IntProperty('_counter', _counter));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment