feat(app): Added a popup menu to bottom navbar

This commit is contained in:
2024-04-18 14:49:45 +03:00
parent ca74cc80a1
commit e602e5d239
12 changed files with 171 additions and 18 deletions

View File

@@ -7,7 +7,6 @@ class AppbarTitleCircleimage extends StatelessWidget {
Key? key,
this.imagePath,
this.margin,
this.onTap,
}) : super(
key: key,
);
@@ -16,13 +15,10 @@ class AppbarTitleCircleimage extends StatelessWidget {
EdgeInsetsGeometry? margin;
Function? onTap;
@override
Widget build(BuildContext context) {
return InkWell(
borderRadius: BorderRadiusStyle.circleBorder8,
onTap: onTapCall,
child: Padding(
padding: margin ?? EdgeInsets.zero,
child: CustomImageView(
@@ -37,8 +33,4 @@ class AppbarTitleCircleimage extends StatelessWidget {
),
);
}
void onTapCall() {
onTap!.call();
}
}