admin
2021-12-03 f092e392700f68cdbfc545c9801f530d19fd39fa
lib/ui/widget/map_marker.dart
@@ -96,8 +96,9 @@
//用户(带头像)位置marker
class PersonLocationMarker extends StatelessWidget {
  final Image portrait;
  final Color borderColor;
  PersonLocationMarker(this.portrait);
  PersonLocationMarker(this.portrait,{this.borderColor=ColorConstant.theme});
  @override
  Widget build(BuildContext context) {
@@ -112,7 +113,7 @@
        height: 42 - 3 * 2,
        padding: EdgeInsets.all(2),
        decoration: BoxDecoration(
            color: ColorConstant.theme,
            color: borderColor,
            borderRadius: BorderRadius.circular(40)),
        child: Image.asset(
          "assets/images/mine/icon_mine_default_portrait.png",