|
|
|
|
@ -51,8 +51,7 @@ class _PerformancePageState extends State<PerformancePage> {
|
|
|
|
|
return RaisedButton(
|
|
|
|
|
child: const Text('Compute on Secondary'),
|
|
|
|
|
elevation: 8.0,
|
|
|
|
|
onPressed:
|
|
|
|
|
createSecondaryIsolateCallBack(context, snapshot),
|
|
|
|
|
onPressed: createSecondaryIsolateCallBack(context, snapshot),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
@ -180,7 +179,10 @@ class SmoothAnimationWidgetState extends State<SmoothAnimationWidget>
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
gradient: LinearGradient(
|
|
|
|
|
begin: Alignment.topLeft,
|
|
|
|
|
colors: [Colors.blueAccent, Colors.redAccent],
|
|
|
|
|
colors: [
|
|
|
|
|
Colors.blueAccent,
|
|
|
|
|
Colors.redAccent
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
borderRadius: borderRadius.value,
|
|
|
|
|
),
|
|
|
|
|
|