摘要: if (status.isPermanentlyDenied) { // 如果用户已永久拒绝了定位权限,您可以引导用户到应用设置页面以手动启用权限 // 如果用户已永久拒绝了定位权限,您可以引导用户到应用设置页面以手动启用权限 // const intent = AndroidIntent( // 阅读全文
posted @ 2024-07-03 10:07 吾爱吃鱼 阅读(110) 评论(0) 推荐(0) 编辑
摘要: ToggleButtons( isSelected: controller.isSelected, borderRadius: BorderRadius.circular(8), constraints: const BoxConstraints(minWidth: 170.0, maxWidth: 阅读全文
posted @ 2024-06-25 09:00 吾爱吃鱼 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Timer? _timer; var periodicTime="".obs; initTimer({required int createTime,required int duration}) async { _timer = Timer.periodic(const Duration(seco 阅读全文
posted @ 2024-05-20 13:45 吾爱吃鱼 阅读(94) 评论(0) 推荐(0) 编辑
摘要: DropdownButtonHideUnderline( child: DropdownButton<String>( value: 'One', onChanged: null, items: <String>['One', 'Two', 'Free', 'Four'] .map<Dropdown 阅读全文
posted @ 2024-01-17 14:23 吾爱吃鱼 阅读(5) 评论(0) 推荐(0) 编辑
摘要: CounterBinding: class CounterBinding extends Bindings { @override void dependencies() { Get.lazyPut(() => CounterController()); } } CounterController: 阅读全文
posted @ 2024-01-17 09:50 吾爱吃鱼 阅读(136) 评论(0) 推荐(0) 编辑
摘要: TextFormField( maxLength: 20, controller: controller.shippernameController, decoration: InputDecoration( counterText: '',//计数器的显示 border: InputBorder. 阅读全文
posted @ 2024-01-10 10:31 吾爱吃鱼 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 底部弹出 getx模式 Get.bottomSheet( isScrollControlled: false, backgroundColor: AppColors.primaryBackground, isDismissible: false, enableDrag: false, Contain 阅读全文
posted @ 2024-01-09 10:14 吾爱吃鱼 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Widget btnFlatButtonWidget({ required VoidCallback onPressed, Widget? text, double width = 140, double height = 44, Color gbColor = AppColors.primaryE 阅读全文
posted @ 2024-01-08 17:54 吾爱吃鱼 阅读(9) 评论(0) 推荐(0) 编辑
摘要: flutter 动画第一章 两行代码 控件切换 curve TweenAnimationBuilder 阅读全文
posted @ 2024-01-08 12:56 吾爱吃鱼 阅读(6) 评论(0) 推荐(0) 编辑
摘要: buildscript { ext.kotlin_version = '1.7.10' repositories { maven { url 'https://maven.aliyun.com/repository/public/' } maven { url 'https://maven.aliy 阅读全文
posted @ 2024-01-07 15:02 吾爱吃鱼 阅读(135) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示