示例#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);
 }