1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/infinite_list/lib/src/api/page.dart

22 lines
418 B
Dart

// 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,
});
}