Elevated and Floating Action Button in Flutter
ElevatedButton(
onPressed: () {
Text('Button Clicked');
},
child: Text('Click Me'),
),
FloatingActionButton(
onPressed: () {
print('Button Clicked');
},
child: Text('Click'),
backgroundColor: Colors.black,
)

Comments
Post a Comment