Skip to content

我设计稿是横屏640x360亮出来的高度是31,使用31.h的时候打印出来是60该如何设置 #602

Open
@kbhao

Description

@kbhao

我设计稿是横屏640x360亮出来的高度是31,使用31.h的时候打印出来是60该如何设置

ScreenUtilInit(
designSize: const Size(640, 360),

    minTextAdapt: true,
    splitScreenMode: true,
    builder: (context, child) {
      return GetMaterialApp(
        themeMode: ThemeMode.system,
        title: "Tiwee",
        debugShowCheckedModeBanner: false,
        theme: ThemeData(
          textTheme: GoogleFonts.soraTextTheme(),
          scaffoldBackgroundColor: Color(0xff1a1726),
        ),
        home: MyApp(),
      );
    }),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions