Пример #1
0
 public ScrollAwareImageProvider(
     DisposableBuildContext context  = null,
     ImageProvider <T> imageProvider = null
     )
 {
     D.assert(context != null);
     D.assert(imageProvider != null);
     this.context       = context;
     this.imageProvider = imageProvider;
 }
Пример #2
0
 public override void initState()
 {
     base.initState();
     WidgetsBinding.instance.addObserver(this);
     _scrollAwareContext = new DisposableBuildContext <State <Image> >(this);
 }