flutter button
FlatButton(
color: Colors.red,
splashColor: Colors.black12,
onPressed: (){
},
child: Text(
"Nouvelle Texte"
),
),
flutter button
FlatButton(
color: Colors.red,
splashColor: Colors.black12,
onPressed: (){
},
child: Text(
"Nouvelle Texte"
),
),
buttons in flutter
TextButton(
onPressed: (){
},
child: Text(
"Nouvelle Texte"
),
),
flutter material button
MaterialButton(
onPressed: () {},
child: Text("My text"),
),
flutter button
TextButton(
onPressed: () {
print('I got clicked');
},
child: Text('Button'),
style: TextButton.styleFrom(
primary: Colors.white,
textStyle: TextStyle(fontSize: 20.0),
backgroundColor: Colors.red),
),
flatbutton flutter
FlatButton(
onPressed: () {
/*...*/
},
child: Text(
"Flat Button",
),
)
Button in flutter
OutlineButton(
shape: StadiumBorder(),
highlightedBorderColor: Colors.red,
borderSide: BorderSide(
width: 2,
color: Colors.red
),
onPressed: () { },
child: Text('OutlineButton with custom shape and border'),
)
OutlinedButton(
style: OutlinedButton.styleFrom(
shape: StadiumBorder(),
side: BorderSide(
width: 2,
color: Colors.red
),
),
onPressed: () { },
child: Text('OutlinedButton with custom shape and border'),
)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us