小编Moh*_*lah的帖子

在 Tap 上显示 Flutter 文本选择工具栏溢出

当尝试选择选择工具栏显示的部分输入文本时,TextFormField Widget 中出现问题,但通常不会从右侧溢出 3.0 像素!!!有趣的部分是它离开屏幕左侧超过 3.0 像素,它没有居中!!代码在下面....

Container(
                            height:
                                MediaQuery.of(context).size.height * 0.25,
                            margin: EdgeInsets.fromLTRB(marginFixed * 0.5,
                                0.0, marginFixed * 0.5, marginFixed * 0.5),
                            child: TextField(
                              enableInteractiveSelection: true,
                              expands: true,
                              controller: _noteController,
                              style: TextStyle(
                                  color: StyleCustom.txtPrimary,
                                  fontSize: 16.0),
                              maxLines: null,
                              minLines: null,
                              decoration: InputDecoration(
                                hintStyle: TextStyle(
                                    color: StyleCustom.txtSecondry),
                                border: InputBorder.none,
                                hintText: 'write your note here',
                              ),
                              onChanged: (String value) {
                                debugPrint(value);
                              },
                            ),
                          ),
Run Code Online (Sandbox Code Playgroud)

在此处输入图片说明

I/flutter ( 5019): ??? EXCEPTION CAUGHT BY RENDERING LIBRARY ??????????????????????????????????????????????????????????
I/flutter ( 5019): The following assertion was …
Run Code Online (Sandbox Code Playgroud)

android dart flutter

5
推荐指数
1
解决办法
2041
查看次数

任何用于 flutter 而不是 sqflite 的替代 SQL

我想知道是否有其他方法可以将离线数据存储在依赖项数据库中而不是使用 sqflite !!如果有人知道 flutter 的任何 SQL 甚至 nosql 库,它不像 sqflite 那样复杂,请提及它!

database sqlite dart flutter sqflite

5
推荐指数
1
解决办法
2720
查看次数

标签 统计

dart ×2

flutter ×2

android ×1

database ×1

sqflite ×1

sqlite ×1