|
|
|
@ -5,6 +5,7 @@ import 'dart:math' as math; |
|
|
|
|
|
|
|
import 'package:amap_flutter/amap_flutter.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart'; |
|
|
|
import 'package:http/http.dart' as http; |
|
|
|
|
|
|
|
class ChatNavigationCard extends StatefulWidget { |
|
|
|
@ -195,7 +196,15 @@ class _ChatNavigationCardState extends State<ChatNavigationCard> { |
|
|
|
_mapUrl.isNotEmpty |
|
|
|
? Image.network(_mapUrl) |
|
|
|
: const CircularProgressIndicator(), |
|
|
|
Text(widget.content) |
|
|
|
10.verticalSpace, |
|
|
|
Text( |
|
|
|
widget.content, |
|
|
|
style: TextStyle( |
|
|
|
color: widget.isDarkMode ? Colors.white : Colors.black, |
|
|
|
fontSize: 16.sp, |
|
|
|
height: 1.5, |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
); |
|
|
|
} |
|
|
|
|