add elevatio to business info card
This commit is contained in:
@@ -321,7 +321,15 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
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(
|
decoration: BoxDecoration(
|
||||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||||
borderRadius: BorderRadius.circular(10),
|
borderRadius: BorderRadius.circular(10),
|
||||||
@@ -366,7 +374,8 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||||||
const Color(0xffe9e8a1),
|
const Color(0xffe9e8a1),
|
||||||
() {
|
() {
|
||||||
final latitude = double.parse(widget.gpsLocation.split(',')[0]);
|
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(
|
_launchGoogleMapsWithUrl(
|
||||||
latitude: latitude,
|
latitude: latitude,
|
||||||
longitude: longitude,
|
longitude: longitude,
|
||||||
@@ -432,6 +441,7 @@ class _MihBusinessCardState extends State<MihBusinessCard> {
|
|||||||
// ),
|
// ),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user