add slide to stock and cleanup
This commit is contained in:
parent
b892cc485f
commit
1222f15766
5 changed files with 17 additions and 39 deletions
|
|
@ -1,5 +1,3 @@
|
|||
import 'dart:math';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
import 'package:gap/gap.dart';
|
||||
|
|
@ -65,24 +63,6 @@ class _MainPageState extends State<MainPage> {
|
|||
}
|
||||
}
|
||||
|
||||
// void _getList() async {
|
||||
// _categoryList = await _refCategories.getList();
|
||||
|
||||
// if (_categoryList.isEmpty) {
|
||||
// if (mounted) {
|
||||
// showNotification(context, 'Error: No Categories Found', false);
|
||||
|
||||
// WidgetsBinding.instance.addPostFrameCallback((_) {
|
||||
// if (mounted) {
|
||||
// context.push('/main');
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// } else {
|
||||
// setState(() => {});
|
||||
// }
|
||||
// }
|
||||
|
||||
Future<void> _getCategoryListCache() async {
|
||||
final categoryList = await _refCategories.getList();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue