Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cool_ui
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
openSourceLibrary
cool_ui
Commits
e62fb57e
提交
e62fb57e
authored
12月 02, 2019
作者:
Kevin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
升级版本0.3.1
上级
5766382a
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
41 行增加
和
23 行删除
+41
-23
CHANGELOG.md
CHANGELOG.md
+3
-0
keyboard_manager.dart
lib/keyboards/keyboard_manager.dart
+8
-2
keyboard_media_query.dart
lib/keyboards/keyboard_media_query.dart
+10
-1
pubspec.lock
pubspec.lock
+19
-19
pubspec.yaml
pubspec.yaml
+1
-1
没有找到文件。
CHANGELOG.md
浏览文件 @
e62fb57e
## [0.3.1]
*
TODO: 修复了键盘监听高度未释放的问题
## [0.3.0]
*
TODO: 优化了键盘的使用方式
...
...
lib/keyboards/keyboard_manager.dart
浏览文件 @
e62fb57e
...
...
@@ -353,6 +353,7 @@ class KeyboardPageState extends State<KeyboardPage>
@override
Widget
build
(
BuildContext
context
)
{
return
Positioned
(
child:
IntrinsicHeight
(
child:
Builder
(
builder:
(
ctx
)
{
...
...
@@ -360,7 +361,10 @@ class KeyboardPageState extends State<KeyboardPage>
if
(
result
!=
null
)
{
_lastBuildWidget
=
result
;
}
return
_lastBuildWidget
;
return
ConstrainedBox
(
constraints:
BoxConstraints
(
minHeight:
0
,
minWidth:
0
,
maxHeight:
widget
.
height
,
maxWidth:
_ScreenUtil
.
getScreenW
(
context
)),
child:
_lastBuildWidget
,
);
},
)),
bottom:
(
widget
.
height
-
doubleAnimation
.
value
)
*
-
1
);
...
...
@@ -381,6 +385,8 @@ class KeyboardPageState extends State<KeyboardPage>
}
update
()
{
this
.
setState
(()
{});
try
{
setState
(()=>{});
}
catch
(
_
){}
}
}
lib/keyboards/keyboard_media_query.dart
浏览文件 @
e62fb57e
...
...
@@ -36,6 +36,14 @@ class KeyboardMediaQueryState extends State<KeyboardMediaQuery >{
}
onUpdateHeight
(){
setState
(()=>{});
try
{
setState
(()=>{});
}
catch
(
_
){}
}
@override
void
dispose
(){
super
.
dispose
();
CoolKeyboard
.
_keyboardHeightNotifier
.
removeListener
(
onUpdateHeight
);
}
}
\ No newline at end of file
pubspec.lock
浏览文件 @
e62fb57e
...
...
@@ -5,35 +5,35 @@ packages:
dependency: transitive
description:
name: async
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "2.3.0"
back_button_interceptor:
dependency: "direct main"
description:
name: back_button_interceptor
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "4.
0.6
"
version: "4.
2.2
"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.0.5"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.14.11"
flutter:
...
...
@@ -50,35 +50,35 @@ packages:
dependency: transitive
description:
name: matcher
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "0.12.5"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.1.7"
path:
dependency: transitive
description:
name: path
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.6.4"
pedantic:
dependency: transitive
description:
name: pedantic
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.8.0+1"
quiver:
dependency: transitive
description:
name: quiver
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "2.0.5"
sky_engine:
...
...
@@ -90,56 +90,56 @@ packages:
dependency: transitive
description:
name: source_span
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.5.5"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.9.3"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "2.0.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.0.5"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.1.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "0.2.5"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "1.1.6"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.
flutter-io.cn
"
url: "https://pub.
dev
"
source: hosted
version: "2.0.8"
sdks:
...
...
pubspec.yaml
浏览文件 @
e62fb57e
name
:
cool_ui
description
:
Some practical Widget for flutter,Popover,Weui,Custom Keyboard
version
:
0.3.
0
version
:
0.3.
1
author
:
Kevin <liangkaikevin@gmail.com>
homepage
:
https://github.com/Im-Kevin/cool_ui
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论