12 2020 档案

摘要: 阅读全文
posted @ 2020-12-18 19:19 mingV2020 阅读(634) 评论(0) 推荐(0)
摘要:main.dart navigatorObservers: [ MyApp.routeObserver, GLObserver(),//全局监听路由 ], router_listener.dart class GLObserver extends NavigatorObserver { // 添加导 阅读全文
posted @ 2020-12-16 13:19 mingV2020 阅读(1107) 评论(0) 推荐(0)
摘要:局部控制键盘收回 import 'package:flutter/material.dart'; import 'package:TLDF/main.dart'; class KeyboardBack { static BuildContext context = navigatorKey.curr 阅读全文
posted @ 2020-12-16 10:24 mingV2020 阅读(2541) 评论(1) 推荐(0)
摘要:keyboardType:TextInputType.numberWithOptions(decimal: true), 阅读全文
posted @ 2020-12-15 13:35 mingV2020 阅读(425) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/upwgh/p/13367589.html 阅读全文
posted @ 2020-12-12 14:54 mingV2020 阅读(167) 评论(0) 推荐(0)
摘要:1 Traceback (most recent call last): 2 File "/tmp/C5FDB25B-C7F4-462E-8AC9-7FF9D1A50F21/fruitstrap_d3ca95e47b6608c20ff2410e8938899af5a79f42.py", line 2 阅读全文
posted @ 2020-12-09 18:33 mingV2020 阅读(394) 评论(0) 推荐(0)
摘要:第一步 引入依赖 dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter 第二步 在main.dart中添加代码 MaterialApp( //省略若干代码........ //国际化 localizations 阅读全文
posted @ 2020-12-02 13:17 mingV2020 阅读(2407) 评论(0) 推荐(0)