File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -57,24 +57,40 @@ class ScoreWindow extends StatelessWidget {
5757                  Row (
5858                    mainAxisAlignment:  MainAxisAlignment .center,
5959                    children:  [
60-                       FilledButton (
60+                       TextButton (
61+                         style:  ButtonStyle (
62+                           backgroundColor:  MaterialStateProperty .all (
63+                             Theme .of (context).primaryColor,
64+                           ),
65+                         ),
6166                        onPressed:  () {
6267                          for  (var  i in  c.toShow) {
6368                            c.isSelected[i.mark] =  true ;
6469                          }
6570                          c.update ();
6671                        },
67-                         child:  const  Text ("全选" ),
72+                         child:  const  Text (
73+                           "全选" ,
74+                           style:  TextStyle (color:  Colors .white),
75+                         ),
6876                      ),
6977                      const  SizedBox (width:  12 ),
70-                       FilledButton (
78+                       TextButton (
79+                         style:  ButtonStyle (
80+                           backgroundColor:  MaterialStateProperty .all (
81+                             Theme .of (context).primaryColor,
82+                           ),
83+                         ),
7184                        onPressed:  () {
7285                          for  (var  i in  c.toShow) {
7386                            c.isSelected[i.mark] =  false ;
7487                          }
7588                          c.update ();
7689                        },
77-                         child:  const  Text ("全不选" ),
90+                         child:  const  Text (
91+                           "全不选" ,
92+                           style:  TextStyle (color:  Colors .white),
93+                         ),
7894                      )
7995                    ],
8096                  ),
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments