Ejemplo n.º 1
0
 public Updater(UpdateUrlFetcher updateUrlFetcher = null, Widget child = null, Key key = null)
     : base(key: key)
 {
     D.assert(updateUrlFetcher != null);
     this.updateUrlFetcher = updateUrlFetcher;
     this.child            = child;
 }
Ejemplo n.º 2
0
 public GalleryApp(
     Key key = null,
     UpdateUrlFetcher updateUrlFetcher        = null,
     bool enablePerformanceOverlay            = true,
     bool enableRasterCacheImagesCheckerboard = true,
     bool enableOffscreenLayersCheckerboard   = true,
     VoidCallback onSendFeedback = null,
     bool testMode = false
     ) : base(key: key)
 {
     this.updateUrlFetcher                    = updateUrlFetcher;
     this.enablePerformanceOverlay            = enablePerformanceOverlay;
     this.enableRasterCacheImagesCheckerboard = enableRasterCacheImagesCheckerboard;
     this.enableOffscreenLayersCheckerboard   = enableOffscreenLayersCheckerboard;
     this.onSendFeedback = onSendFeedback;
     this.testMode       = testMode;
 }