1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +00:00
Hao 7171e92c1f fix the issue of generating more than [catalogLength] items when [catalogLength] is not divisible by [itemsPerPage] (#952)
It only checks if [startingIndex] is greater than [catalogLength] in the existing implementation. It doesn't check the index of an item in a page. So it may generate more items than the number specified by [catalogLength]. i.e if [catalogLength] is 113, the existing implementation will still generate 120 items. This PR solves the issue by adding the check for the indices of items in a page.
2022-01-05 07:16:01 +10:00
2021-12-01 09:34:24 +10:00
2021-12-09 13:15:57 +10:00
2022-01-05 06:29:30 +11:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2021-12-09 13:15:57 +10:00
2022-01-04 10:00:02 -08:00
2020-08-13 18:02:04 -07:00
2018-06-08 14:36:44 -07:00

Flutter samples

Build Status

A collection of open source samples that illustrate best practices for Flutter.

Visual samples index

The easiest way to browse through the samples in this repo (as well as a few others!) is the visual samples index.

Tip: minimize download size

As this repository is quite big, you can use svn to download a single example. For example:

svn co https://github.com/flutter/samples/trunk/provider_shopper

You can also use a shallow clone to download just the latest revision:

git clone --depth 1 https://github.com/flutter/samples.git

Interested in contributing?

See the contributor's guide!

Questions or issues?

If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:

If you run into a bug in one of the samples, please file an issue in the flutter/samples issue tracker.

Description
No description provided
Readme 1 GiB
Languages
Dart 71%
C++ 11.4%
CMake 8.7%
Kotlin 2.2%
Swift 1.9%
Other 4.8%