Esempio n. 1
0
 public ImageConfiguration(
     AssetBundle bundle     = null,
     float?devicePixelRatio = null,
     Locale locale          = null,
     Size size = null,
     RuntimePlatform?platform = null
     )
 {
     this.bundle           = bundle;
     this.devicePixelRatio = devicePixelRatio;
     this.locale           = locale;
     this.size             = size;
     this.platform         = platform;
 }
Esempio n. 2
0
 public ImageConfiguration copyWith(
     AssetBundle bundle     = null,
     float?devicePixelRatio = null,
     Locale locale          = null,
     Size size = null,
     RuntimePlatform?platform = null
     )
 {
     return(new ImageConfiguration(
                bundle: bundle?bundle: this.bundle,
                devicePixelRatio: devicePixelRatio ?? this.devicePixelRatio,
                locale: locale ?? this.locale,
                size: size ?? this.size,
                platform: platform ?? this.platform
                ));
 }