Diagnosticable mixin Null safety
A mixin class for providing string and DiagnosticsNode debug representations describing the properties of an object.
The string debug representation is generated from the intermediate DiagnosticsNode representation. The DiagnosticsNode representation is also used by debugging tools displaying interactive trees of objects and properties.
See also:
- debugFillProperties, which lists best practices for specifying the properties of a DiagnosticsNode. The most common use case is to override debugFillProperties defining custom properties for a subclass of DiagnosticableTreeMixin using the existing DiagnosticsProperty subclasses.
- DiagnosticableTree, which extends this class to also describe the children of a tree structured object.
- DiagnosticableTree.debugDescribeChildren, which lists best practices for describing the children of a DiagnosticsNode. Typically the base class already describes the children of a node properly or a node has no children.
- DiagnosticsProperty, which should be used to create leaf diagnostic nodes without properties or children. There are many DiagnosticsProperty subclasses to handle common use cases.
- Mixin Applications
-
- Action
- ActionDispatcher
- AppBarTheme
- BottomAppBarTheme
- BottomNavigationBarThemeData
- BottomSheetThemeData
- ButtonBarThemeData
- ButtonStyle
- ButtonThemeData
- CardTheme
- CharacterActivator
- CheckboxThemeData
- ChipThemeData
- ColorScheme
- CupertinoDynamicColor
- CupertinoIconThemeData
- CupertinoTextThemeData
- CupertinoThemeData
- DataTableThemeData
- Decoration
- DiagnosticableTree
- DialogTheme
- DividerThemeData
- DrawerThemeData
- ElevatedButtonThemeData
- ExpansionTileThemeData
- FloatingActionButtonThemeData
- FlutterErrorDetails
- FocusOrder
- FocusTraversalPolicy
- IconThemeData
- ImageChunkEvent
- ImageStream
- ImageStreamCompleter
- InputDecorationTheme
- Intent
- KeyboardKey
- KeyEvent
- ListTileThemeData
- LogicalKeySet
- MaterialBannerThemeData
- MenuItem
- MouseCursor
- MouseTrackerAnnotation
- NavigationBarThemeData
- NavigationRailThemeData
- OutlinedButtonThemeData
- PageTransitionsTheme
- PointerEvent
- PopupMenuThemeData
- ProgressIndicatorThemeData
- RadioThemeData
- RawKeyEvent
- RawKeyEventData
- RenderTapRegion
- ScrollbarThemeData
- SemanticsData
- SemanticsSortKey
- ShortcutManager
- SingleActivator
- SliderThemeData
- SliverGeometry
- SnackBarThemeData
- State
- StrutStyle
- SwitchThemeData
- TabBarTheme
- TextButtonThemeData
- TextSelectionThemeData
- TextStyle
- TextTheme
- ThemeData
- TimePickerThemeData
- ToggleButtonsThemeData
- TooltipThemeData
- Typography
- VisualDensity
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
mustCallSuper">@mustCallSuperprotected">@protected
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode - Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
override
-
toStringShort(
) → String - A brief description of this object, usually just the runtimeType and the hashCode.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited