CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2022-01-26
by reza

Original Post

Original - Posted on 2018-04-24
by Dhrumil Shah - dhuma1981



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

The elevated button widget has a shape property which you can use as shown in the below snippet. ```dart ElevatedButton( style: ButtonStyle( shape: MaterialStateProperty.all<RoundedRectangleBorder>( RoundedRectangleBorder( borderRadius: BorderRadius.circular(20.0), side: BorderSide( color: Colors.teal, width: 2.0, ), ), ), ), child: Text('Submit'), onPressed: () {}, ), ```
You can use the `ElevatedButton` Widget. The elevated button widget has a `shape` property which you can use as shown in the below snippet.
ElevatedButton( style: ButtonStyle( shape: MaterialStateProperty.all<RoundedRectangleBorder>( RoundedRectangleBorder( borderRadius: BorderRadius.circular(18.0), side: BorderSide( color: Colors.teal, width: 2.0, ), ), ), ), child: Text('Submit'), onPressed: () {}, ),

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