文档支持语言pt_BRen_USzh_CN - 本文件GetX™ 框架的官
Flutter

Flutter
GetX™ 框架的官方 CLI。

Flutter
Flutter StatefulWidget 和 StatelessWidget 之间如何选择
StatefulWidget 和 StatelessWidget 的区别:StatefulWidget 是有 State 的,StatelessWidget 是无 State 的。当你以后选择用 StatelessWidget 还是 StatefulWidget 时,只要考虑 UI 是否需要改变,如果需要改变,就用 StatefulW

Flutter
flutter_inner_drawer 报错
覆盖 github 修改的新版本:https://github.com/AhmedCodor/flutter_inner_drawer/blob/n

Flutter
json_to_dart 自动生成模型类
https://autocode.icu/jsontodart (推荐)https://javiercbk.github.io/json_to_dart/

Flutter
flutter 设置沉浸式状态栏并修改字体颜色
实现代码:import 'dart:io';import 'package:flutter/services.dart';void main() { runApp(MyApp()); // 沉浸式状态栏 if (Platform.isAndroid) {

Flutter
Flutter去掉AppBar避免body溢出到状态栏
没有AppBar的Flutter,如果不在Scaffold中使用AppBar会发现默认是沉浸式。预留出状态栏的高度方法:appBar: PreferredSize( preferredSize: Size.fromHeight(MediaQuery.of(context)

Flutter
Flutter不同终端屏幕适配方案
Flutter不同终端屏幕适配方案: flutter_screenutil

Flutter
Flutter Error: Cannot run with sound null safety, because the following dependencies
flutter sdk 版本升级到2.0或者更高的版本后就发现运行时会报错:Xcode's output:↳ Error: Cannot run with sound null safety, because the following dependencies don't

Flutter
Flutter之高斯模糊

Flutter
Flutter 给组件设置点击事件

Flutter