|
|
@@ -1,3 +1,5 @@
|
|
|
+import 'dart:io';
|
|
|
+
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter/src/widgets/framework.dart';
|
|
|
@@ -15,6 +17,7 @@ import 'package:location/utils/common_expand.dart';
|
|
|
import 'package:location/utils/common_style.dart';
|
|
|
import 'package:sliding_sheet2/sliding_sheet2.dart';
|
|
|
import '../../resource/assets.gen.dart';
|
|
|
+import '../../resource/string.gen.dart';
|
|
|
import '../../router/app_pages.dart';
|
|
|
import '../../utils/fixed_size_tab_indicator.dart';
|
|
|
import '../../widget/common_view.dart';
|
|
|
@@ -71,26 +74,28 @@ class TrackPage extends BasePage<TrackController> {
|
|
|
return buildSheetContentView();
|
|
|
},
|
|
|
),
|
|
|
- SafeArea(
|
|
|
- child: Container(
|
|
|
- width: double.infinity,
|
|
|
- padding: EdgeInsets.only(right: 12.w),
|
|
|
- child: Column(
|
|
|
- crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
- children: [
|
|
|
- Assets.images.iconAmapLogo.image(height: 24.w),
|
|
|
- Container(
|
|
|
- padding: EdgeInsets.all(1.w),
|
|
|
- color: ColorName.white30,
|
|
|
- child: Text(StringName.locationCo,
|
|
|
- style:
|
|
|
- TextStyle(fontSize: 11.sp, color: ColorName.black40)),
|
|
|
- )
|
|
|
- ],
|
|
|
+ Visibility(
|
|
|
+ visible: Platform.isAndroid,
|
|
|
+ child: SafeArea(
|
|
|
+ child: Container(
|
|
|
+ width: double.infinity,
|
|
|
+ padding: EdgeInsets.only(right: 12.w),
|
|
|
+ child: Column(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
+ children: [
|
|
|
+ Assets.images.iconAmapLogo.image(height: 24.w),
|
|
|
+ Container(
|
|
|
+ padding: EdgeInsets.all(1.w),
|
|
|
+ color: ColorName.white30,
|
|
|
+ child: Text(StringName.locationCo,
|
|
|
+ style: TextStyle(
|
|
|
+ fontSize: 11.sp, color: ColorName.black40)),
|
|
|
+ )
|
|
|
+ ],
|
|
|
+ ),
|
|
|
),
|
|
|
),
|
|
|
),
|
|
|
- ),
|
|
|
],
|
|
|
);
|
|
|
}
|