-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
viewing preferences.....This is still in deep beta
- Loading branch information
Showing
9 changed files
with
88 additions
and
78 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
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
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,18 +1,17 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_bloc/flutter_bloc.dart'; | ||
import 'package:private_fit/application/setting/bloc/settings_bloc.dart'; | ||
import 'package:private_fit/injections.dart'; | ||
import 'package:private_fit/presentation/settings/settings_view.dart'; | ||
// import 'package:flutter/material.dart'; | ||
// import 'package:flutter_bloc/flutter_bloc.dart'; | ||
// import 'package:private_fit/application/setting/bloc/settings_bloc.dart'; | ||
// import 'package:private_fit/injections.dart'; | ||
// import 'package:private_fit/presentation/settings/settings_view.dart'; | ||
|
||
class SettingsPage extends StatelessWidget { | ||
const SettingsPage({Key? key}) : super(key: key); | ||
// class SettingsPage extends StatelessWidget { | ||
// const SettingsPage({Key? key}) : super(key: key); | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return BlocProvider<SettingsBloc>( | ||
create: (context) => | ||
getIt<SettingsBloc>()..add(const SettingsEvent.started()), | ||
child: const SettingsPageView(), | ||
); | ||
} | ||
} | ||
// @override | ||
// Widget build(BuildContext context) { | ||
// return BlocProvider<SettingsBloc>( | ||
// create: (context) => getIt<SettingsBloc>(), | ||
// child: const SettingsPageView(), | ||
// ); | ||
// } | ||
// } |
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