rand dart fix
This commit is contained in:
@@ -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,
|
||||
);
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user