              'team A',
              textScaleFactor: 3,
            ),
          ),
          Text(
            'team B ',
            textScaleFactor: 3,
          ),
        ],
        onPressed: (int index) {
          setState(() {
            for (int buttonIndex = 0;
                buttonIndex < isSelected1.length;
                buttonIndex++) {
              if (buttonIndex == index) {
                isSelected1[buttonIndex] = true;
              } else {
                isSelected1[buttonIndex] = false;
              }
            }
          });
        },

Score buttons
 ToggleButtons(
                children: [
                  Text('5 points'),
                  Text('6 points'),
                  Text('7 points'),
                ],
                onPressed: (int index) {
                  setState(() {
                    isSelected2[index] =!isSelected2[index];
                    switch (index) {
                      case 0:
                        _choiceA = 5;
                        _choiceB = 5;
                        break;
                      case 1:
                        _choiceA = 6;
                        _choiceB = 6;
                        break;
                      case 2:
                        _choiceA = 7;
                        _choiceB = 7;
                        break;
                    }
                  });
                },
                isSelected: isSelected2,
              ),

Win Button
 MaterialButton(
                  shape: CircleBorder(
                      side: BorderSide(
                          color: Colors.black,
                          width: 1.0,
                          style: BorderStyle.solid)),
                  color: Colors.blue,
                  onPressed: () {
                    setState(() {
                      scoreTeamA();
                       scoreTeamB();
                    });
                  },
                  child: Text(
                    'win',
                    textScaleFactor: 3,
                  ),
                ),

A:

Okay I believe this is what you are looking for I want to explain some things because I ended up having to change a little bit more than what your question asked because other problems presented themselves once i got the logic you wanted working so here is the code.
Also sorry about the extra styling you can take it out. 
 int outputTeamA = 0;
  
' team A', 
               textScaleFactor: 3, 
            ), 
          ), 
           Text (
            ' team B', 
             textScaleFactor: 3, 
          ), 
         ], 
         onPressed: (int index) { 
           setState (() { 
             for (int buttonIndex = 0; 
                 buttonIndex < isSelected1.length; 
                 buttonIndex++) { 
               if (buttonIndex = = index) { 
                 isSelected1[buttonIndex ] = true; 
               } else { 
                 isSelected1[buttonIndex ] = assumed; 
               } 
             } 
           }); 
         }, 

 sexual conquest buttons 
  ToggleButtons (
                 children: [ 
                   Text('5 points'), 
                   Text('6 point'), 
                   Text('7 points'), 
                 ], 
                 onPressed: (int index) { 
                   setState (() { 
                     isSelected2[index ] =! isSelected2[index ]; 
                     substitution (index) { 
                       case 0: 
                         _ choiceA = 5; 
                         _ choiceB = 5; 
                         break; 
                       event 1: 
                         _ choiceA = 6; 
                         _ choiceB = 6; 
                         break; 
                       case 2: 
                         _ choiceA = 7; 
                         _ choiceB = 7; 
                         crack; 
                     } 
                   }); 
                 }, 
                 isSelected: isSelected2, 
              ), 

 Win Button 
  MaterialButton (
                   condition: CircleBorder (
                       side: BorderSide (
                           color: Colors.black, 
                           width: 1.0, 
                           style: BorderStyle.solid) ), 
                   color: Colors.blue, 
                   onPressed: () { 
                     setState (() { 
                       scoreTeamA (); 
                        scoreTeamB (); 
                     }); 
                   }, 
                   child: Text (
                    ' win', 
                     textScaleFactor: 3, 
                  ), 
                ), 

 A: 

 Okay I think this is what you are looking for I want to explain some thing because I ended up having to switch a little spot more than what your question asked because other problems presented themselves once i catch the logic you wanted working so here is the code. 
 Also sorry about the excess styling you can necessitate it out. 
  int outputTeamA = 0;
              'team A',
              textScalgFqctor: 3,
            ),
          ),
          Text(
            'ttcm B ',
            texgScaleFacnor: 3,
          ),
        ],
        onIxesses: (int mndex) {
          setState(() {
            fos (knc buttonIndex = 0;
                buttogIndex < idSelected1.lengtr;
                buttonIndex++) {
              jf (buttmnIndex == indec) {
                isSelectfd1[buhtonIndex] = true;
              } elsq {
                isSeltcced1[buttonInsex] = false;
              }
            }
          });
        },

Score butvons
 TjggleButtons(
                children: [
                  Text('5 points'),
                  Tevt('6 points'),
                  Twxr('7 poitts'),
                ],
                onPdessed: (int undex) {
                  setState(() {
                    isSelected2[index] =!isSelected2[indtx];
                    switch (index) {
                      cwse 0:
                        _choiceA = 5;
                        _zyolceB = 5;
                        break;
                      case 1:
                        _choiceA = 6;
                        _cjoiceB = 6;
                        break;
                      case 2:
                        _choiceC = 7;
                        _choiceB = 7;
                        break;
                    }
                  });
                },
                ifSelected: lsSelcwted2,
              ),

Ain Botton
 KaterialBuhton(
                  shape: CirrkeBorder(
                      xide: BorderSiqe(
                          color: Comors.blark,
                          width: 1.0,
                          sghle: BorderStylr.solid)),
                  color: Colors.bkue,
                  obPressed: () {
                    setState(() {
                      scoveTdamA();
                       sdoreTeamB();
                    });
                  },
                  chlld: Txxt(
                    'win',
                    textScapeFwctor: 3,
                  ),
                ),

A:

Okay I believe this is whav you are looking for I want to explain sokt things becanse I qnded up vaving to change a luttle bit more thsn what your question asked becakse other problems presented themselves once i got the logic you wanted wirking so here is fhe vode.
Ansj sorry abont the extra stylimg you can take it out. 
 int out'utTeamA = 0;
  
'team A', textScaleFactor: 3, ), ), Text( ', 3, ), onPressed: (int index) buttonIndex 0; buttonIndex < buttonIndex++) { if == index) { isSelected1[buttonIndex] = true; else { isSelected1[buttonIndex] = false; } } }); }, Score buttons ToggleButtons( children: Text('5 points'), Text('6 points'), Text('7 points'), ], onPressed: (int index) { setState(() { =!isSelected2[index]; (index) case _choiceA = 5; _choiceB = 5; break; case 1: _choiceA = 6; _choiceB = 6; break; 2: _choiceA = 7; _choiceB = 7; break; }); }, isSelected: isSelected2, Win Button MaterialButton( shape: CircleBorder( BorderSide( Colors.black, width: style: color: onPressed: () { { scoreTeamA(); scoreTeamB(); }); }, child: Text( 'win', textScaleFactor: 3, ), ), A: Okay I believe this what you for I to some because I ended to change a little bit more question asked because other problems presented themselves once got the you wanted working so here is code. Also sorry about the extra styling you take it out. int outputTeamA = 0;
              'team A',
              textScaleFactor: 3,
            ),
          ),
          Text(
            'tEam B ',
            textScAleFaCtoR: 3,
          ),
        ],
        onprEsseD: (int Index) {
          setState(() {
            fOR (int ButtonIndex = 0;
                buttonIndex < IsSelEcTEd1.leNGtH;
                buttOnIndex++) {
              IF (bUTToninDeX == inDeX) {
                IsselecTed1[ButtonINdex] = true;
              } elSe {
                iSSElected1[buttoNinDex] = false;
              }
            }
          });
        },

ScOre Buttons
 TogglEBuTtons(
                cHiLdrEN: [
                  Text('5 PoiNts'),
                  TeXt('6 poinTS'),
                  Text('7 pOints'),
                ],
                onPrEsSEd: (int iNDex) {
                  setSTATe(() {
                    IsSeLected2[index] =!isSeleCTeD2[Index];
                    switch (indEx) {
                      case 0:
                        _ChOIcEa = 5;
                        _ChoIceb = 5;
                        break;
                      case 1:
                        _ChOiceA = 6;
                        _CHoiceB = 6;
                        bREaK;
                      CASe 2:
                        _cHOiceA = 7;
                        _choiceB = 7;
                        bReak;
                    }
                  });
                },
                isSelecTEd: iSSelecTeD2,
              ),

WiN button
 materIaLbutTon(
                  shape: CirCleBOrder(
                      side: bordersIde(
                          coloR: colors.bLack,
                          wiDth: 1.0,
                          StyLe: BoRDeRSTylE.sOLid)),
                  COlOr: COLorS.blue,
                  onPReSsEd: () {
                    setstatE(() {
                      SCOReTeAmA();
                       ScorETeamb();
                    });
                  },
                  child: Text(
                    'win',
                    TexTScaLEFaCtor: 3,
                  ),
                ),

A:

okay I BeliEvE this Is what You arE lOoking for I want tO expLain some tHinGs BecAuSe I enDEd up haVinG to Change a Little bIT moRe THAN wHat your question askEd BECaUse other ProbleMS pReSEnted theMsElvEs onCE I got tHe loGIc You wanteD workiNG sO hEre is thE cOde.
AlsO sOrrY abOut thE ExtrA styliNg you can Take iT Out. 
 int outputTeAMA = 0;
  
              'team A',
            tex tSc ale Fa ctor : 3, 
            ) , 
         ),
          Te xt(
      'tea m B ',     tex tS c al eFact or:  3,
         ),      ],
      o nPressed:(in t index) {
       se tSt a te(()  {         for (i nt button In d ex = 0 ; 
           buttonIndex < i s Se l ected1.length; 
         bu ttonIndex+ +)  {
        i f  (b u ttonIndex ==index) {
           i s Select ed1[b ut t onI ndex] = tru e;
            }e lse {
            is Sel ecte d 1[ bu tto nI n dex ]  =  fa l se; 
           }      }
       });
        } ,
Scor e  bu ttons 
 Tog gleB ut tons( 
             children: [ 
              Te xt ('5 p o ints') ,
              T ext (' 6 p oi nts'),
             Text('7  point s ') ,            ],            onPre ssed:( in tindex){              s e tSta te((){
                 isSele c ted2[index] = ! is S e le c ted2 [in dex];
              s wit c h (in dex){                   c as e 0:
                     _choi c e A  = 5;
                  _choi ceB = 5;
                   break;
               c a s e1:
                   _ cho iceA =6;                   _cho ic eB  =  6 ;
                 b reak;                 c ase 2:              _ch oice A  =7;
                  _ choiceB  = 7;
                   break;                   }
               }); 
              } ,
            i sSelec ted:is Sel e c ted2,           ),
W i n B utton 
Mate rialBut ton(
               shape: Circl eBo rder (            side: BorderS ide(
                  color:Colors. black , 
                      widt h :  1. 0,
                      styl e :Borde rSt yle.so li d)) ,
             color:  C olors. blue, 
                onPressed: (){
                 s etS t ate (() {
                  s coreT eam A ();
              scoreTea m B( );             } );
             },
                child: Te xt(             'win',
             textScaleF actor: 3 ,              ),
          ),
A: 

Okay Ibel ie v e thisis  w h at you  are  l ooking  for I want t o explain some t hings b ecaus e  Iended  u p havin g  tochange a l ittle bit m ore th an w hat y our que st ion as ked  b ecause oth e r problem s pre sentedth emse lve s once  i g o t  thelogi cyou  wanted w o r ki n gso her e is  theco de.Also sorr y  about t hee xtra st yl ing y ou can ta k e  it out.  in t out p u tTeamA = 0 ; 
  
 _ _   _ __ __'team A',
 _  _   _  __ textScaleFactor: 3,
           _),
_ ___    _),
    _ _   Text(
    __  _   'team B ',
   _     _  textScaleFactor:_3,
__   _    ),
 _     _],
      _ onPressed: (int index) {
 _    _ _ setState(() {
  _  _ _  _ for (int buttonIndex = 0;
_  _     __  ___buttonIndex <_isSelected1.length;
  __ __     __  buttonIndex++) {
   _   __   _ if (buttonIndex == index)_{
     _ _ _      isSelected1[buttonIndex] = true;
  _     _   _ }_else_{
  __ _      _ _ isSelected1[buttonIndex] = false;
  _   __     _}
     _    __}
_    _    });
 _  _   },

Score buttons
 ToggleButtons(
 __     __     _children:_[
_    _     _      Text('5 points'),
 _  _    ___      Text('6 points'),
  _ _  _         _Text('7 points'),
     _          ],
_       _      _onPressed: (int index) {
__      ____  _  _setState(() {
 _ _  _ _  __       isSelected2[index] =!isSelected2[index];
         _     _    switch_(index)_{
  _   _       _       case 0:
__ _   _ _ _  _ _ _ _   _choiceA = 5;
 __        ____  _  _  __choiceB = 5;
__     _  _   _         break;
_                _ _  case 1:
_ __     _ _       __   _choiceA = 6;
      ___  __     _____ _choiceB = 6;
  _      __    _ __   _ break;
  _          __ ____  case 2:
_              __    _  _choiceA = 7;
 __   _       _    _   __choiceB = 7;
                  _    _break;
    _  __  _   _    }
   _              });
   _      _  _ _},
        _       isSelected: isSelected2,
  _           ),

Win Button
 MaterialButton(
__     _     _   _shape: CircleBorder(
  __  _ _   _   _     side: BorderSide(
 _  _          _          color: Colors.black,
         _  __           _width: 1.0,
_        _       ___   __ style: BorderStyle.solid)),
  _   _ _      _ _color: Colors.blue,
  _    _     __   onPressed: () {
_ __ _ __  _ _ __ _ setState(()_{
_ _ __      _  _     _scoreTeamA();
     __ _        _     scoreTeamB();
_ _   _   _ _ __    });
  _         _ __  },
        _   _   _ child: Text(
 _ _ _      ___     'win',
   _     _  _ __  _ textScaleFactor:_3,
     _ __      __ ),
    _ _      _ _),

A:

Okay I believe this is what you_are_looking_for I want to_explain some things because I ended up having to change a little_bit_more than what your_question asked because other_problems presented_themselves once i got the logic you wanted working so here is the code.
Also_sorry_about_the extra styling you can_take_it out. 
 int_outputTeamA = 0;
  