getx icon indicating copy to clipboard operation
getx copied to clipboard

为什么GetMaterialApp会有个白色背景?

Open yx-mike opened this issue 1 year ago • 0 comments

// 构建 Material Design 的 App return GetMaterialApp( locale: Locale('zh', 'CN'), localizationsDelegates: [ GlobalCupertinoLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate ], supportedLocales: [ Locale('zh', 'CN'), ], theme: _buildThemeData(), home: _manager, color: Colors.blue, builder: EasyLoading.init(builder: (BuildContext context, Widget child) { WDScreenTools.init(context); return MediaQuery( // 控制字体大小不随系统字体变化 child: _buildFlutterFlag(context, child), data: MediaQuery.of(context).copyWith(textScaleFactor: 1.0), ); }), );

yx-mike avatar Jun 22 '24 14:06 yx-mike