xxxxxxxxxx
//For horizontal
Icon(Icons.more_horiz);
//For Vertical
Icon(Icons.more_vert);
xxxxxxxxxx
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
actions: [
IconButton(
icon: Icon(Icons.more_vert), // Three dots icon
onPressed: () {
// Do something when the icon is pressed
},
),
],
),
body: Center(
child: Text('Hello, World!'),
),
),
);
}
}