|
|
@@ -217,7 +217,19 @@ class MainPage extends BasePage<MainController> {
|
|
|
margin: EdgeInsets.only(bottom: 3.w, top: 3.w),
|
|
|
child: AspectRatio(
|
|
|
aspectRatio: 1,
|
|
|
- child: buildTodayMapView(todayTrackReportBean),
|
|
|
+ child: Stack(
|
|
|
+ children: [
|
|
|
+ buildTodayMapView(todayTrackReportBean),
|
|
|
+ GestureDetector(
|
|
|
+ behavior: HitTestBehavior.opaque,
|
|
|
+ onTap: controller.onTodayTraceClick,
|
|
|
+ child: SizedBox(
|
|
|
+ width: double.infinity,
|
|
|
+ height: double.infinity,
|
|
|
+ ),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
SizedBox(width: 10.w),
|