Hibok
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

10 řádky
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. }