2024年3月23日

MS SQL SERVER 只开放 表 或视图 的读取权限

摘要: 设置Sql server用户权限 对表,视图,存储过程,架构的增删改查权限_存储过程没有增删改查权限-CSDN博客 grant select on cbo_itemMaster to demogrant select on mo_MO to demo 阅读全文

posted @ 2024-03-23 16:44 hztech 阅读(6) 评论(0) 推荐(0) 编辑

2023年8月6日

C# 类型的扩展方法定义

摘要: C# 类型的扩展方法定义 扩展方法就是类型的静态方法属性,比如:.ToString() 其实是可以自定义类型的方法的,按如下操作: 1、定义静态类 ​namespace ExtenClass​{​ public static class ObjectExtention{}​} 2、定义静态方法, 方 阅读全文

posted @ 2023-08-06 16:55 hztech 阅读(40) 评论(0) 推荐(0) 编辑

2023年7月25日

.Net 项目类型区别 Windows窗体应用程序

摘要: .NET框架(特定于Windows),然后使用Windows Forms App (.NET Framework)。 Windows窗体应用程序 (.NET Framework) 解决方案默认名称:windowsFormsApp .NET核心/ .NET(跨平台),然后使用Windows Forms 阅读全文

posted @ 2023-07-25 14:17 hztech 阅读(121) 评论(0) 推荐(0) 编辑

2023年7月24日

ValueNotifier<T> ValueListenableBuilder<T> Stack() positioned.fill()

摘要: 1、在Column下面增加可以滚动的Row 2、在widget外部控件其内部的变量 ValueNotifier<T> ValueListenableBuilder<T>(valueListenable:...,builder:()=>) import 'package:flutter/materia 阅读全文

posted @ 2023-07-24 14:01 hztech 阅读(16) 评论(0) 推荐(0) 编辑

2023年7月19日

函数中的回调函数参数的使用

摘要: 函数 A.X在函数B 中完成回调 A->B-A.X() 变量定义: VoidCallback callDo 调用时的参数可以有两种方式传入: 1、X 2,()=>X() static showBottomMessage(BuildContext context, VoidCallback? call 阅读全文

posted @ 2023-07-19 14:43 hztech 阅读(28) 评论(0) 推荐(0) 编辑

Tooltip

摘要: const Tooltip({ super.key, this.message, this.richMessage, this.height, this.padding, this.margin, this.verticalOffset, this.preferBelow, this.exclude 阅读全文

posted @ 2023-07-19 10:50 hztech 阅读(83) 评论(0) 推荐(0) 编辑

2023年7月18日

flutter String 字符串常用的方法

摘要: 连接字符串: String test='hello'; String c_test='world'; c_test='${test} ${c_test}!'// hello world! //检查c_test 是否以 !结尾 bool b=c_test.endsWith('!')// b=true 阅读全文

posted @ 2023-07-18 10:37 hztech 阅读(394) 评论(0) 推荐(0) 编辑

2023年7月17日

Vertical viewport was given unbounded height

摘要: 见到上面的错,解决方法是: 增加属性:shrinkWrap:true ListView( shrinkWrap: true, 。。。。。 ) 阅读全文

posted @ 2023-07-17 22:07 hztech 阅读(8) 评论(0) 推荐(0) 编辑

Flutter | 使用 InkResponse和 InkWell组件 实现事件操作

摘要: 可以包裹 不具备事件处理的组件,实现水波纹等点击事件的效果; InkWell 水波纹限制在文本组件之内;InkResponse 水波纹没有限制;InkResponse 和 InkWell 都可以指定各种响应颜色、手势等相关属性; InkWell( radius: 200.0, focusColor: 阅读全文

posted @ 2023-07-17 12:05 hztech 阅读(119) 评论(0) 推荐(0) 编辑

2023年7月14日

Flutter 全面解析

摘要: https://blog.csdn.net/jdsjlzx/article/details/127956374 (136条消息) Flutter Provider状态管理_flutter状态管理provider_一叶飘舟的博客-CSDN博客 阅读全文

posted @ 2023-07-14 15:15 hztech 阅读(6) 评论(0) 推荐(0) 编辑

导航