@@ -235,38 +235,38 @@ class _ListLabelsScreenState extends State<ListLabelsScreen> {
235235 return PopupMenuButton <Actions >(
236236 onSelected: onPopupMenuItemClicked,
237237 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+ ],
270270 );
271271 }
272272
@@ -482,10 +482,10 @@ class LabelEntry extends StatelessWidget {
482482 context,
483483 MaterialPageRoute (
484484 builder: (context) => new ListLabelSamples (
485- dataset,
486- labelKey,
487- labelName,
488- ),
485+ dataset,
486+ labelKey,
487+ labelName,
488+ ),
489489 ),
490490 );
491491 }
@@ -624,6 +624,8 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
624624 child: Slider (
625625 value: trainingBudget.toDouble (),
626626 max: 10.0 ,
627+ activeColor: Colors .deepPurple,
628+ inactiveColor: Colors .grey[200 ],
627629 min: 1.0 ,
628630 divisions: 10 ,
629631 onChanged: (v) {
@@ -648,7 +650,7 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
648650 children: [
649651 TextSpan (
650652 text: " Firebase pricing page " ,
651- style: TextStyle (color: Colors .blueAccent ),
653+ style: TextStyle (color: Colors .deepPurple ),
652654 ),
653655 TextSpan (text: "for details" )
654656 ],
@@ -669,6 +671,7 @@ class _TrainModelPricingDialogState extends State<TrainModelPricingDialog> {
669671 child: const Text ("CANCEL" ),
670672 ),
671673 new RaisedButton (
674+ color: Colors .deepPurple,
672675 onPressed: () {
673676 Navigator .pop (context, trainingBudget);
674677 },
0 commit comments