स्पंदन बटन के आइकन और पाठ
ElevatedButton.icon(
icon: Icon(Icons.home),
label: Text('ElevatedButton'),
onPressed: () {},
),
दौर बटन के साथ पाठ और चिह्न में स्पंदन
OutlinedButton.icon(
icon: Icon(Icons.home),
onPressed: (){},
label: Text('OutlinedButton'),
style: OutlinedButton.styleFrom(
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0))
)
),