What do you want to save?
Add Code snippet
New code examples
-
Dart 2021-09-10 15:36:02
get current line number dart flutter
int get lineNumber { try { final re = RegExp(r'^#1[ \t]+.+:(?<line>[0-9]+):[0-9]+\)$', multiLine: true); final match = re.firstMatch(StackTrace.current.toString()); return (match == null) ? -1 : int.parse(match.namedG... Add solution -
Java 2021-08-27 08:39:01
java usaco code
/* Use the slash-star style comments or the system won't see your identification information */ /* ID: your_id_here LANG: JAVA TASK: test */ import java.io.*; import java.util.*; class test { public static void main (String [] args) throws IOExcepti... Add solution