You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/infinite_list/lib/src/api/page.dart

22 lines
418 B

// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'item.dart';
const int itemsPerPage = 20;
class ItemPage {
final List<Item> items;
final int startingIndex;
final bool hasNext;
ItemPage({
required this.items,
required this.startingIndex,
required this.hasNext,
});
}