rand dart fix

This commit is contained in:
2026-01-15 17:36:22 -08:00
parent dbbdafd893
commit 91e7e39fe8
131 changed files with 976 additions and 1365 deletions
@@ -74,7 +74,7 @@ class LayoutExample extends StatelessWidget {
),
floatingActionButton: FloatingActionButton(
child: Icon(Icons.add),
backgroundColor: Theme.of(context).accentColor,
backgroundColor: Theme.of(context).colorScheme.secondary,
onPressed: () {},
),
);
@@ -53,7 +53,7 @@ class _ListExampleState extends State<ListExample> {
title: Text("App Bar"),
),
],
itemCount: _items?.length ?? 0,
itemCount: _items.length ?? 0,
itemBuilder: (BuildContext context, int index) {
final i = _items[index];
return ListTile(