mirror of
https://github.com/flutter/samples.git
synced 2026-05-10 08:58:14 +00:00
Reformats platform_design to match repo conventions, fixes missing icon (#89)
This commit is contained in:
@@ -26,13 +26,13 @@ class _NewsTabState extends State<NewsTab> {
|
||||
void initState() {
|
||||
colors = getRandomColors(_itemsLength);
|
||||
titles = List.generate(_itemsLength, (index) => generateRandomHeadline());
|
||||
contents = List.generate(_itemsLength, (index) => lorem(paragraphs: 1, words: 24));
|
||||
contents =
|
||||
List.generate(_itemsLength, (index) => lorem(paragraphs: 1, words: 24));
|
||||
super.initState();
|
||||
}
|
||||
|
||||
Widget _listBuilder(context, index) {
|
||||
if (index >= _itemsLength)
|
||||
return null;
|
||||
if (index >= _itemsLength) return null;
|
||||
|
||||
return SafeArea(
|
||||
top: false,
|
||||
@@ -81,7 +81,7 @@ class _NewsTabState extends State<NewsTab> {
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user