QuiltTileFaucet<T>  class 
 
A data source abstraction for tiles in Carpet, managing bidirectional loading and buffering.
QuiltTileFaucet handles pulling past/future content via callbacks, maintaining a sorted buffer with cursors. Supports constant endpoints for finite datasets. Integrates with QuiltFaucet for quilt building and Carpet for infinite scrolling.
- Implementers
Constructors
- 
          QuiltTileFaucet({required DateTime getTime(T), required String getID(T), required double getAspect(T), required Future<List< onPullFuture(int max, DateTime? futureCursor), required Future<T> >List< onPullPast(int max, DateTime? pastCursor), bool constantPast = true, bool constantFuture = false})T> >
- Constructs a QuiltTileFaucet with required getters and pull callbacks.
Properties
- 
  buffer
  → List<T> 
- 
  
  final
- constantFuture → bool
- 
  
  final
- constantPast → bool
- 
  
  final
- futureCursor → DateTime?
- 
  Gets the future cursor from the buffer's first item.
  no setter
- getAspect → double Function(T)
- 
  
  final
- getID → String Function(T)
- 
  
  final
- getTime → DateTime Function(T)
- 
  
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- hasReachedEndOfPast → bool
- 
  
  no setter
- hasReachedStartOfFuture → bool
- 
  
  no setter
- isBusy → bool
- 
  
  no setter
- 
  onPullFuture
  → Future<List< Function(int max, DateTime? futureCursor)T> >
- 
  
  final
- 
  onPullPast
  → Future<List< Function(int max, DateTime? pastCursor)T> >
- 
  
  final
- pastCursor → DateTime?
- 
  Gets the past cursor from the buffer's last item.
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  doPullPast(int i, DateTime? c) → Future< List< T> >
- Internal hook for past pulls, allowing overrides like in QuiltTileForceFeeder.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  pullFuture(int count) → Future< void> 
- 
  Pulls future tiles up to count, inserting at buffer start.
- 
  pullPast(int count) → Future< void> 
- 
  Pulls past tiles up to count, appending to buffer.
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited