a83001de0d
- 新增系统语言/时区读取工具函数 - SessionStore 扩展支持时区存储 - 启动流程自动检测并保存系统语言/时区 - 注册时传递语言/时区到后端 - 登录后从服务器同步语言/时区
6 lines
148 B
Dart
6 lines
148 B
Dart
import 'package:flutter_timezone/flutter_timezone.dart';
|
|
|
|
Future<String> getSystemTimezone() async {
|
|
return FlutterTimezone.getLocalTimezone();
|
|
}
|