📜  打开键盘在颤动中溢出像素 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:04.242000             🧑  作者: Mango

代码示例1
Widget build(BuildContext context) {
  return Scaffold(
    body: SingleChildScrollView(
      physics: NeverScrollableScrollPhysics(),
      child: ConstrainedBox(
        constraints: BoxConstraints(
          minWidth: MediaQuery.of(context).size.width,
          minHeight: MediaQuery.of(context).size.height,
        ),
        child: IntrinsicHeight(
          child: Column(
            mainAxisSize: MainAxisSize.max,
            children: [
              // CONTENT HERE
            ],
          ),
        ),
      ),
    ),
  );
}