1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-11 15:28:44 +00:00

Landing beta changes in master for the new stable release (#747)

This commit is contained in:
Andrew Brogdon
2021-03-03 11:44:35 -08:00
committed by GitHub
parent 6c81510d6e
commit 8c1cd0b049
101 changed files with 1006 additions and 1040 deletions

View File

@@ -12,9 +12,9 @@ class Item {
final String name;
Item({
@required this.color,
@required this.name,
@required this.price,
required this.color,
required this.name,
required this.price,
});
Item.loading() : this(color: Colors.grey, name: '...', price: 0);

View File

@@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:meta/meta.dart';
import 'item.dart';
const int itemsPerPage = 20;
@@ -17,8 +14,8 @@ class ItemPage {
final bool hasNext;
ItemPage({
@required this.items,
@required this.startingIndex,
@required this.hasNext,
required this.items,
required this.startingIndex,
required this.hasNext,
});
}