init static method
Initializes the screen dimensions for responsive design.
Implementation
static void init(BuildContext context) {
// Initializes ScreenUtil with the context to get screen size info
ScreenUtil.init(
context,
designSize: Size(360, 690), // Set the design size here (typically your design mockup size)
minTextAdapt: true, // Optional: Adjusts the text size scaling
splitScreenMode: true, // Optional: Enables split screen support
);
}