@@ -235,38 +235,38 @@ class _ListLabelsScreenState extends State<ListLabelsScreen> {
235
235
return PopupMenuButton <Actions >(
236
236
onSelected: onPopupMenuItemClicked,
237
237
itemBuilder: (BuildContext context) => < PopupMenuEntry <Actions >> [
238
- const PopupMenuItem (
239
- child: Text ('Train model' ),
240
- value: Actions .trainModel,
241
- ),
242
- const PopupMenuItem (
243
- child: Text ('View Collaborators' ),
244
- value: Actions .viewCollaborators,
245
- ),
246
- const PopupMenuItem (
247
- child: Text ('View Past Operations' ),
248
- value: Actions .viewPastOperations,
249
- ),
250
- PopupMenuItem (
251
- child: widget.dataset.isPublic
252
- ? Text ('Make private' )
253
- : Text ('Make public' ),
254
- value: Actions .changeVisiblity,
255
- ),
256
- const PopupMenuItem (
257
- child: Text ('Export to Firebase' ),
258
- value: Actions .exportToFirebase,
259
- ),
260
- const PopupMenuItem (
261
- child: Text ('Show bucket path' ),
262
- value: Actions .copyGCSPath,
263
- ),
264
- const PopupMenuDivider (),
265
- const PopupMenuItem (
266
- child: Text ('Delete Dataset' ),
267
- value: Actions .deleteDataset,
268
- ),
269
- ],
238
+ const PopupMenuItem (
239
+ child: Text ('Train model' ),
240
+ value: Actions .trainModel,
241
+ ),
242
+ const PopupMenuItem (
243
+ child: Text ('View Collaborators' ),
244
+ value: Actions .viewCollaborators,
245
+ ),
246
+ const PopupMenuItem (
247
+ child: Text ('View Past Operations' ),
248
+ value: Actions .viewPastOperations,
249
+ ),
250
+ PopupMenuItem (
251
+ child: widget.dataset.isPublic
252
+ ? Text ('Make private' )
253
+ : Text ('Make public' ),
254
+ value: Actions .changeVisiblity,
255
+ ),
256
+ const PopupMenuItem (
257
+ child: Text ('Export to Firebase' ),
258
+ value: Actions .exportToFirebase,
259
+ ),
260
+ const PopupMenuItem (
261
+ child: Text ('Show bucket path' ),
262
+ value: Actions .copyGCSPath,
263
+ ),
264
+ const PopupMenuDivider (),
265
+ const PopupMenuItem (
266
+ child: Text ('Delete Dataset' ),
267
+ value: Actions .deleteDataset,
268
+ ),
269
+ ],
270
270
);
271
271
}
272
272
@@ -482,10 +482,10 @@ class LabelEntry extends StatelessWidget {
482
482
context,
483
483
MaterialPageRoute (
484
484
builder: (context) => new ListLabelSamples (
485
- dataset,
486
- labelKey,
487
- labelName,
488
- ),
485
+ dataset,
486
+ labelKey,
487
+ labelName,
488
+ ),
489
489
),
490
490
);
491
491
}
@@ -624,6 +624,8 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
624
624
child: Slider (
625
625
value: trainingBudget.toDouble (),
626
626
max: 10.0 ,
627
+ activeColor: Colors .deepPurple,
628
+ inactiveColor: Colors .grey[200 ],
627
629
min: 1.0 ,
628
630
divisions: 10 ,
629
631
onChanged: (v) {
@@ -648,7 +650,7 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
648
650
children: [
649
651
TextSpan (
650
652
text: " Firebase pricing page " ,
651
- style: TextStyle (color: Colors .blueAccent ),
653
+ style: TextStyle (color: Colors .deepPurple ),
652
654
),
653
655
TextSpan (text: "for details" )
654
656
],
@@ -669,6 +671,7 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
669
671
child: const Text ("CANCEL" ),
670
672
),
671
673
new RaisedButton (
674
+ color: Colors .deepPurple,
672
675
onPressed: () {
673
676
Navigator .pop (context, trainingBudget);
674
677
},
0 commit comments