streamData method

  1. @override
Widget streamData({
  1. required String collectionId,
  2. required Widget consumerFunc(
    1. List<Map<String, dynamic>> resultList
    ),
  3. required Map<String, dynamic> where,
  4. required String orderBy,
  5. bool descending = true,
  6. int? limit,
  7. bool hasPage = false,
})
override

Implementation

@override
Widget streamData({
  required String collectionId,
  required Widget Function(List<Map<String, dynamic>> resultList) consumerFunc,
  required Map<String, dynamic> where,
  required String orderBy,
  bool descending = true,
  int? limit, // 페이지 크기
  bool hasPage = false,
}) {
  // appwrite 에서는 일단은 ...사용되지 않는다.
  return const Center(child: Text('Appwrite does not support streamData() yet!'));
}