File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,23 +62,23 @@ class DataTransferPage extends StatelessWidget {
6262 style: ElevatedButton .styleFrom (
6363 foregroundColor: (controller.runningTest == 1 )
6464 ? Colors .blueAccent
65- : Colors .grey[ 300 ] ),
65+ : Colors .blueGrey ),
6666 onPressed: () => controller.generateRandomNumbers (false ),
6767 child: const Text ('Transfer Data to 2nd Isolate' ),
6868 ),
6969 ElevatedButton (
7070 style: ElevatedButton .styleFrom (
7171 foregroundColor: (controller.runningTest == 2 )
7272 ? Colors .blueAccent
73- : Colors .grey[ 300 ] ),
73+ : Colors .blueGrey ),
7474 onPressed: () => controller.generateRandomNumbers (true ),
7575 child: const Text ('Transfer Data with TransferableTypedData' ),
7676 ),
7777 ElevatedButton (
7878 style: ElevatedButton .styleFrom (
7979 foregroundColor: (controller.runningTest == 3 )
8080 ? Colors .blueAccent
81- : Colors .grey[ 300 ] ),
81+ : Colors .blueGrey ),
8282 onPressed: controller.generateOnSecondaryIsolate,
8383 child: const Text ('Generate on 2nd Isolate' ),
8484 ),
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ class HomePage extends StatelessWidget {
4848 @override
4949 Widget build (BuildContext context) {
5050 return MaterialApp (
51+ theme: ThemeData .light (useMaterial3: true ),
5152 home: DefaultTabController (
5253 length: 3 ,
5354 child: Scaffold (
You can’t perform that action at this time.
0 commit comments