未確認だが問題回避のためプッシュ
This commit is contained in:
@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:rogapp/widgets/GameState/Colors.dart';
|
||||
import 'package:rogapp/pages/destination/destination_controller.dart';
|
||||
//import 'package:rogapp/widgets/custom_icons.dart';
|
||||
import 'package:rogapp/widgets/custom_icons.dart';
|
||||
|
||||
enum GPSStatus { high, middle, low }
|
||||
|
||||
@ -30,19 +30,19 @@ class GpsSignalStrengthIndicator extends StatelessWidget {
|
||||
case 'high':
|
||||
backgroundColor = Colors.green;
|
||||
iconData = Icons.signal_cellular_alt;
|
||||
//iconData = CustomIcons.gps_signal_high_0;
|
||||
// iconData = CustomIcons.gps_signal_high;
|
||||
text = 'GPS 強';
|
||||
break;
|
||||
case 'medium':
|
||||
backgroundColor = Colors.orange;
|
||||
iconData = Icons.signal_cellular_alt_2_bar;
|
||||
//iconData = CustomIcons.gps_signal_middle_0;
|
||||
// iconData = CustomIcons.gps_signal_middle;
|
||||
text = 'GPS 中';
|
||||
break;
|
||||
default:
|
||||
backgroundColor = Colors.grey; // Fallback color
|
||||
iconData = Icons.signal_cellular_connected_no_internet_4_bar;
|
||||
//iconData = CustomIcons.gps_signal_low_0;
|
||||
// iconData = CustomIcons.gps_signal_low;
|
||||
text = 'GPS 弱';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user