Skip to content

Commit d804981

Browse files
committed
v1.10.0
1 parent 9a7c9c2 commit d804981

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

lib/widgets/error_stack_debug_widget.dart

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ class _ErrorStackDebugWidget extends State<ErrorStackDebugWidget> {
161161
: Colors.white),
162162
onPressed: () async {
163163
await Clipboard.setData(ClipboardData(
164-
text:
165-
"${widget.errorDetails.exceptionAsString()} flutter"));
164+
text:
165+
"${widget.errorDetails.exceptionAsString()} flutter"));
166166
_showCopiedSnackBar();
167167
},
168168
)
@@ -359,13 +359,11 @@ class _ErrorStackDebugWidget extends State<ErrorStackDebugWidget> {
359359

360360
/// Display a snack bar when the text is copied
361361
_showCopiedSnackBar() {
362-
ScaffoldMessenger.of(context)
363-
.showSnackBar(const SnackBar(
362+
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
364363
content: Text(
365-
'Copied to your clipboard!',
366-
style: TextStyle(
367-
fontWeight: FontWeight.w600),
368-
)));
364+
'Copied to your clipboard!',
365+
style: TextStyle(fontWeight: FontWeight.w600),
366+
)));
369367
}
370368

371369
/// Get the color from a hex string

0 commit comments

Comments
 (0)