add elevatio to business info card

This commit is contained in:
2025-07-10 20:08:49 +02:00
parent 35e10752ef
commit 5c906ef29f

View File

@@ -321,7 +321,15 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
@override
Widget build(BuildContext context) {
return Container(
return Material(
color: MzanziInnovationHub.of(context)!
.theme
.secondaryColor()
.withValues(alpha: 0.6),
borderRadius: BorderRadius.circular(25),
elevation: 10,
shadowColor: Colors.black,
child: Container(
decoration: BoxDecoration(
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
borderRadius: BorderRadius.circular(10),
@@ -366,7 +374,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
const Color(0xffe9e8a1),
() {
final latitude = double.parse(widget.gpsLocation.split(',')[0]);
final longitude = double.parse(widget.gpsLocation.split(',')[1]);
final longitude =
double.parse(widget.gpsLocation.split(',')[1]);
_launchGoogleMapsWithUrl(
latitude: latitude,
longitude: longitude,
@@ -432,6 +441,7 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
// ),
],
),
),
);
}
}