rand dart fix

This commit is contained in:
2026-01-15 17:36:22 -08:00
parent dbbdafd893
commit 91e7e39fe8
131 changed files with 976 additions and 1365 deletions
+2 -2
View File
@@ -84,10 +84,10 @@ class _MyAppState extends State<MyApp> {
final height = size.height;
final width = size.width;
final sb = StringBuffer();
final top = offset?.dy ??
final top = offset.dy ??
(screen.height != null ? (screen.height - height) / 2 : 0);
final left =
offset?.dx ?? (screen.width != null ? (screen.width - width) / 2 : 0);
offset.dx ?? (screen.width != null ? (screen.width - width) / 2 : 0);
sb.write("height=");
sb.write(height);
sb.write(",width=");