-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
653 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"flutterSdkVersion": "3.3.9", | ||
"flutterSdkVersion": "3.13.8", | ||
"flavors": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,6 @@ | ||
part of 'dependency_injector.dart'; | ||
|
||
class _Blocs extends StatelessWidget { | ||
final Widget child; | ||
|
||
const _Blocs({ | ||
Key? key, | ||
required this.child, | ||
}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) => MultiBlocProvider( | ||
providers: [ | ||
BlocProvider<WizardCubit>(create: (_) => WizardCubit()), | ||
BlocProvider<StepCubit>(create: (_) => StepCubit()), | ||
], | ||
child: child, | ||
); | ||
} | ||
final List<BlocProvider> _blocs = [ | ||
BlocProvider<WizardCubit>(create: (_) => WizardCubit()), | ||
BlocProvider<StepCubit>(create: (_) => StepCubit()), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
part of 'dependency_injector.dart'; | ||
|
||
class _Providers extends StatelessWidget { | ||
final Widget child; | ||
|
||
const _Providers({ | ||
Key? key, | ||
required this.child, | ||
}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) => MultiProvider( | ||
providers: [ | ||
Provider(create: (_) => RecoveryService()), | ||
], | ||
child: child, | ||
); | ||
} | ||
final List<SingleChildWidget> _providers = [ | ||
Provider<RecoveryService>(create: (_) => RecoveryService()), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,12 @@ | ||
part of 'dependency_injector.dart'; | ||
|
||
class _Repositories extends StatelessWidget { | ||
final Widget child; | ||
|
||
const _Repositories({ | ||
Key? key, | ||
required this.child, | ||
}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) => MultiRepositoryProvider( | ||
providers: [ | ||
RepositoryProvider( | ||
create: (_) => FileExplorerRepository(), | ||
), | ||
RepositoryProvider( | ||
create: (context) => RecoveryRepository( | ||
service: context.read(), | ||
), | ||
), | ||
], | ||
child: child, | ||
); | ||
} | ||
final List<RepositoryProvider> _repositories = [ | ||
RepositoryProvider<FileExplorerRepository>( | ||
create: (_) => FileExplorerRepository(), | ||
), | ||
RepositoryProvider<RecoveryRepository>( | ||
create: (context) => RecoveryRepository( | ||
service: context.read(), | ||
), | ||
), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.