Skip to content

Commit da575c0

Browse files
committed
base
1 parent a633016 commit da575c0

33 files changed

+253
-152
lines changed

.fvmrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"flutter": "3.22.3",
2+
"flutter": "3.24.3",
33
"flavors": {
4-
"development": "3.22.3",
5-
"production": "3.22.3"
4+
"development": "3.24.3",
5+
"production": "3.24.3"
66
},
77
"runPubGetOnSdkChanges": true,
88
"updateVscodeSettings": true,

lib/bootstrap.dart

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,12 @@
11
import 'dart:async';
22
import 'dart:developer';
33

4-
import 'package:bloc/bloc.dart';
54
import 'package:flutter/widgets.dart';
65

7-
class AppBlocObserver extends BlocObserver {
8-
const AppBlocObserver();
9-
10-
@override
11-
void onChange(BlocBase<dynamic> bloc, Change<dynamic> change) {
12-
super.onChange(bloc, change);
13-
log('onChange(${bloc.runtimeType}, $change)', name: '${bloc.runtimeType}');
14-
}
15-
16-
@override
17-
void onError(BlocBase<dynamic> bloc, Object error, StackTrace stackTrace) {
18-
log(
19-
'onError(${bloc.runtimeType}, $error, $stackTrace)',
20-
name: '${bloc.runtimeType}',
21-
);
22-
super.onError(bloc, error, stackTrace);
23-
}
24-
25-
@override
26-
void onCreate(BlocBase bloc) {
27-
super.onCreate(bloc);
28-
}
29-
}
30-
316
Future<void> bootstrap(FutureOr<Widget> Function() builder) async {
327
FlutterError.onError = (details) {
338
log(details.exceptionAsString(), stackTrace: details.stack);
349
};
3510

36-
Bloc.observer = const AppBlocObserver();
37-
38-
// Add cross-flavor configuration here
39-
4011
runApp(await builder());
4112
}

lib/data/local/.gitkeep

Whitespace-only changes.

lib/data/mapper/.gitkeep

Whitespace-only changes.

lib/data/model/.gitkeep

Whitespace-only changes.

lib/domain/entity/.gitkeep

Whitespace-only changes.

lib/domain/repository/pub_dev_repository.dart

Whitespace-only changes.

lib/features/router.dart

Lines changed: 0 additions & 24 deletions
This file was deleted.

lib/features/router.g.dart

Lines changed: 0 additions & 33 deletions
This file was deleted.

lib/features/splash/view/splash_page.dart

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)