Hibok
您不能選擇超過 %s 個話題 話題必須以字母或數字為開頭,可包含連接號 ('-') 且最長為 35 個字
 
 
 
 
 
 

10 行
428 B

  1. import 'package:flutter/foundation.dart';
  2. import 'package:stack_trace/stack_trace.dart';
  3. void d(Object object) {
  4. var output = "${Trace.current().frames[1].location} | $object";
  5. // the console prints the first 1000+ char and discard the rest so this work around.
  6. final pattern = RegExp('.{1,1000}'); // 1000 is the size of each chunk
  7. pattern.allMatches(output).forEach((match) => debugPrint(match.group(0)));
  8. }