init static method
void
init(
- BuildContext context, {
- Size designSize = defaultSize,
- bool splitScreenMode = false,
- bool minTextAdapt = false,
- FontSizeResolver? fontSizeResolver,
Initializing the library.
Implementation
static void init(
BuildContext context, {
Size designSize = defaultSize,
bool splitScreenMode = false,
bool minTextAdapt = false,
FontSizeResolver? fontSizeResolver,
}) {
return configure(
data: MediaQuery.maybeOf(context),
designSize: designSize,
splitScreenMode: splitScreenMode,
minTextAdapt: minTextAdapt,
fontSizeResolver: fontSizeResolver,
);
}