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
@@ -18,8 +18,7 @@ class MyApp extends StatelessWidget {
margin: const EdgeInsets.all(4.0),
color: RandomColor(title.hashCode).randomColor(),
child: Stack(
overflow: Overflow.visible,
children: [
clipBehavior: Clip.none, children: [
child,
Positioned(
left: -50,
@@ -94,7 +93,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
@@ -27,8 +27,7 @@ class MyApp extends StatelessWidget {
margin: const EdgeInsets.all(4.0),
color: RandomColor(title.hashCode).randomColor(),
child: Stack(
overflow: Overflow.visible,
children: [
clipBehavior: Clip.none, children: [
child,
Positioned(
left: -50,
@@ -106,7 +105,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
@@ -47,7 +47,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
@@ -79,7 +79,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
@@ -37,7 +37,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
@@ -38,7 +38,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},
+1 -1
View File
@@ -80,7 +80,7 @@ Widget _generateScreen({
return Scaffold(
appBar: AppBar(title: title),
backgroundColor: color,
body: args == null ? null : Center(child: Text(args.toString())),
body: Center(child: Text(args.toString())),
floatingActionButton: fab,
);
},