toString method

  1. @override
String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.

Implementation

@override
String toString() {
  return r'''
constraints: The [BoxConstraints] of the [Dialog].

 Defaults to:

 ```dart
 BoxConstraints(minWidth: 640.0, minHeight: 120.0)
 ```;;menuPadding: The [EdgeInsets] padding of the menu.

 Defaults to:

 ```dart
 EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 8.0)
 ```;;menuSpacing: The spacing the menu items.

 Defaults to:

 ```dart
 16.0
 ```;;titlePadding: The title [EdgeInsets] padding of the title.

 Defaults to:

 ```dart
 EdgeInsets.fromLTRB(16.0, 16.0, 16.0, 0.0)
 ```;;bodyPadding: The body [EdgeInsets] padding of the body.
 Defaults to:

 ```dart
 EdgeInsets.all(16.0)
 ```;;background: The background color.

 Defaults to:

 ```dart
 colorScheme.background[0]
 ```;;barrierColor: The barrier color.

 Defaults to:

 ```dart
 colorScheme.background[20].withOpacity(0.8)
 ```;;titleTextStyle: The [TextStyle] for the title.

 Defaults to:

 ```dart
 textTheme.title
 ```;;bodyTextAlign: The [TextAlign] of the body text.

 Defaults to:

 ```dart
 TextAlign.left
 ```;;imageFilter: The [ImageFilter] used for the dialog`s barrier.

 Defaults to:

 ```dart
 ImageFilter.blur(sigmaX: 1.0, sigmaY: 1.0)
 ```;;
''';
}