CopyPastor

Detecting plagiarism made easy.

Score: 0.8783289790153503; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2021-10-13
by Anmol Mishra

Original Post

Original - Posted on 2021-10-13
by Salim Murshed



            
Present in both answers; Present only in the new answer; Present only in the old answer;

bool isMan = false; bool isWoman = false; Center( child: Row( children: [ Padding( padding: EdgeInsets.only(right: 10), child: Text( "Man:", style: TextStyle(color: Colors.white, fontSize: 20), ), ), Theme( data: ThemeData(unselectedWidgetColor: Colors.white), child: Checkbox( value: isMan, checkColor: Color(0xfff44336), activeColor: Colors.white, onChanged: (value) { setState( () { isMan = value!; isWoman = false; }, ); }, ), ), Text( "Woman:", style: TextStyle(color: Colors.white, fontSize: 20), ), Theme( data: ThemeData(unselectedWidgetColor: Colors.white), child: Checkbox( value: isWoman, checkColor: Color(0xfff44336), activeColor: Colors.white, onChanged: (value) { setState( () { isWoman = value!; isMan = false; }, ); }, ), ), ], ), )`
Here is the solution.

bool isMan = false; bool isWoman = false;
Center( child: Row( children: [ Padding( padding: EdgeInsets.only(right: 10), child: Text( "Man:", style: TextStyle(color: Colors.white, fontSize: 20), ), ), Theme( data: ThemeData(unselectedWidgetColor: Colors.white), child: Checkbox( value: isMan, checkColor: Color(0xfff44336), activeColor: Colors.white, onChanged: (value) { setState( () { isMan = value!; isWoman = false; }, ); }, ), ), Text( "Woman:", style: TextStyle(color: Colors.white, fontSize: 20), ), Theme( data: ThemeData(unselectedWidgetColor: Colors.white), child: Checkbox( value: isWoman, checkColor: Color(0xfff44336), activeColor: Colors.white, onChanged: (value) { setState( () { isWoman = value!; isMan = false; }, ); }, ), ), ], ), )

        
Present in both answers; Present only in the new answer; Present only in the old answer;