File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments