提交 090360a3 authored 作者: Kevin's avatar Kevin

修复了键盘高度不同的时候不会改变问题, issues: 36

上级 73c47aa1
## [0.3.3]
* TODO: 修复了键盘高度不同的时候不会改变问题, issues: 36
## [0.3.2]
* TODO: 修复页面高度未刷新问题
......
......@@ -9,7 +9,7 @@ Usage Add this to your package's pubspec.yaml file:
Flutter >=1.7
``` yaml
dependencies:
cool_ui: "^0.3.2"
cool_ui: "^0.3.3"
```
Flutter < 1.7
......
......@@ -120,10 +120,10 @@ class CoolKeyboard {
}
static openKeyboard() {
if (_keyboardEntry != null) return;
_pageKey = GlobalKey<KeyboardPageState>();
var keyboardHeight = _currentKeyboard.getHeight(_context);
_keyboardHeightNotifier.value = keyboardHeight;
if (_keyboardEntry != null) return;
_pageKey = GlobalKey<KeyboardPageState>();
// KeyboardMediaQueryState queryState = _context
// .ancestorStateOfType(const TypeMatcher<KeyboardMediaQueryState>())
// as KeyboardMediaQueryState;
......
name: cool_ui
description: Some practical Widget for flutter,Popover,Weui,Custom Keyboard
version: 0.3.2
version: 0.3.3
author: Kevin <liangkaikevin@gmail.com>
homepage: https://github.com/Im-Kevin/cool_ui
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论