ensureDlutterStarted static method
Implementation
static GlobalConfig ensureDlutterStarted({
TextStyle? fontFamily,
String? svgAssetFolderPath,
String? imgAssetFolderPath,
int? networkImgCachedWidth,
int? networkImgCachedHeight,
}) {
_instance ??= const GlobalConfig._();
_fontFamily = fontFamily ?? const TextStyle();
_svgAssetFolderPath = svgAssetFolderPath ?? 'assets/svg_images/';
_imgAssetFolderPath = imgAssetFolderPath ?? 'assets/images/';
_networkImageCachedWidth = networkImgCachedWidth ?? 500;
_networkImageCachedHeight = networkImgCachedHeight ?? 800;
return _instance!;
}