style(app): 格式化并拆分长函数
This commit is contained in:
1 parent
2b2b7e9913
commit
7850dfc746
31 files changed
+388
-318
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Author: fruit.com.cn
|
||||
// Author: fruit.com.cn
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:fruitshorts/core/data/models/order.dart';
|
||||
@@ -81,11 +81,7 @@ AppProduct _product(String name, {int coinAmount = 550, int bonusCoin = 0}) =>
|
||||
);
|
||||
|
||||
class _FakeStoreRepository implements StoreRepository {
|
||||
_FakeStoreRepository({
|
||||
this.products = const [],
|
||||
this.order,
|
||||
this.orderError,
|
||||
});
|
||||
_FakeStoreRepository({this.products = const [], this.order, this.orderError});
|
||||
|
||||
final List<AppProduct> products;
|
||||
final AppOrder? order;
|
||||
|
||||
Reference in new issue
Block a user