w-R 3 years ago
parent
commit
6b3ebc36ca
  1. 0
      assets/map_style/area_code_full.json
  2. 6
      lib/community/community_view/class_details_video.dart
  3. 2
      lib/login/phone_address_page.dart
  4. 1
      pubspec.yaml

0
assets/area_code/area_code_full.json → assets/map_style/area_code_full.json

6
lib/community/community_view/class_details_video.dart

@ -78,8 +78,10 @@ class ClassDetailsVideoState extends State<ClassDetailsVideo> {
// //
looping: false, looping: false,
// //
allowFullScreen: false, allowFullScreen: true,
// //
allowedScreenSleep: true,
//
materialProgressColors: chewie.ChewieProgressColors( materialProgressColors: chewie.ChewieProgressColors(
playedColor: Colors.white, playedColor: Colors.white,
handleColor: Colors.white, handleColor: Colors.white,

2
lib/login/phone_address_page.dart

@ -27,7 +27,7 @@ class _PhoneAddressPage extends State<PhoneAddressPage> {
void areaCode() async { void areaCode() async {
var value = var value =
await rootBundle.loadString('assets/area_code/area_code_full.json'); await rootBundle.loadString('assets/map_style/area_code_full.json');
areaMap = jsonDecode(value); areaMap = jsonDecode(value);
areaMap.forEach((key, value) { areaMap.forEach((key, value) {
areaList.add(key); areaList.add(key);

1
pubspec.yaml

@ -111,7 +111,6 @@ flutter:
- assets/image/2x/ - assets/image/2x/
- assets/image/3x/ - assets/image/3x/
- assets/map_style/ - assets/map_style/
- asstes/area_code/
- assets/riv/ - assets/riv/
- assets/svg/ - assets/svg/
# - assets/fonts/ # - assets/fonts/

Loading…
Cancel
Save