add debug mode
This commit is contained in:
@@ -10,4 +10,8 @@ extension OffsetCartesionOps on Offset {
|
||||
Offset operator -(Offset other) {
|
||||
return Offset(dx - other.dx, dy - other.dy);
|
||||
}
|
||||
|
||||
String coord() {
|
||||
return '(${dx.toStringAsFixed(2)}, ${dy.toStringAsFixed(2)})';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
final TextStyle monospaceStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontFamily: 'monospace',
|
||||
);
|
||||
Reference in New Issue
Block a user