Skip to content

Commit

Permalink
Move presentation to ui package
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Jun 29, 2024
1 parent 36d1a09 commit 44e7cc7
Show file tree
Hide file tree
Showing 36 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion lib/ui/pages/baskets_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/baskets_presenter.dart';
import 'package:wealth_wave/ui/presentation/baskets_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/widgets/create_basket_dialog.dart';
import 'package:wealth_wave/utils/ui_utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:primer_progress_bar/primer_progress_bar.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
import 'package:wealth_wave/contract/risk_level.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/dashboard_presenter.dart';
import 'package:wealth_wave/ui/presentation/dashboard_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/goal_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:primer_progress_bar/primer_progress_bar.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
import 'package:wealth_wave/contract/goal_importance.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/goal_presenter.dart';
import 'package:wealth_wave/ui/presentation/goal_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/goals_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:primer_progress_bar/primer_progress_bar.dart';
import 'package:wealth_wave/contract/goal_importance.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/goals_presenter.dart';
import 'package:wealth_wave/ui/presentation/goals_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/nav_path.dart';
import 'package:wealth_wave/ui/widgets/create_goal_dialog.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/investment_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:intl/intl.dart';
import 'package:syncfusion_flutter_charts/charts.dart';
import 'package:wealth_wave/contract/risk_level.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/investment_presenter.dart';
import 'package:wealth_wave/ui/presentation/investment_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/investments_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:flutter/rendering.dart';
import 'package:intl/intl.dart';
import 'package:wealth_wave/contract/risk_level.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/investments_presenter.dart';
import 'package:wealth_wave/ui/presentation/investments_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/nav_path.dart';
import 'package:wealth_wave/ui/widgets/create_investment_dialog.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pages/main_page.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/main_presenter.dart';
import 'package:wealth_wave/ui/presentation/main_presenter.dart';
import 'package:wealth_wave/ui/pages/dashboard_page.dart';
import 'package:wealth_wave/ui/pages/goals_page.dart';
import 'package:wealth_wave/ui/pages/investments_page.dart';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_basket_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_basket_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_basket_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';

Future<void> showCreateBasketDialog(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_goal_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:wealth_wave/contract/goal_importance.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_goal_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_goal_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/custom/currency_text_input_formatter.dart';
import 'package:wealth_wave/ui/custom/date_text_input_formatter.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_investment_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:intl/intl.dart';
import 'package:toastification/toastification.dart';
import 'package:wealth_wave/contract/risk_level.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_investment_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_investment_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/custom/date_text_input_formatter.dart';
import 'package:wealth_wave/ui/custom/decimal_text_input_formatter.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_script_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_script_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_script_presenter.dart';

Future<void> showCreateScriptDialog(
{required final BuildContext context, required final int investmentId}) {
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_sip_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:wealth_wave/contract/frequency.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_sip_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_sip_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/custom/currency_text_input_formatter.dart';
import 'package:wealth_wave/ui/custom/date_text_input_formatter.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_tag_investment_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/tag_investment_presenter.dart';
import 'package:wealth_wave/ui/presentation/tag_investment_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/create_transaction_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/create_investment_transaction_presenter.dart';
import 'package:wealth_wave/ui/presentation/create_investment_transaction_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/custom/date_text_input_formatter.dart';
import 'package:wealth_wave/utils/ui_utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/view_sips_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/sips_presenter.dart';
import 'package:wealth_wave/ui/presentation/sips_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/widgets/create_sip_dialog.dart';
import 'package:wealth_wave/utils/ui_utils.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/view_tagged_goal_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/tagged_goals_presenter.dart';
import 'package:wealth_wave/ui/presentation/tagged_goals_presenter.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Future<void> showTaggedGoalDialog(
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/view_tagged_investment_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/tagged_investment_presenter.dart';
import 'package:wealth_wave/ui/presentation/tagged_investment_presenter.dart';
import 'package:wealth_wave/ui/widgets/create_tag_investment_dialog.dart';
import 'package:wealth_wave/utils/ui_utils.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/ui/widgets/view_transactions_dialog.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:wealth_wave/core/page_state.dart';
import 'package:wealth_wave/presentation/transactions_presenter.dart';
import 'package:wealth_wave/ui/presentation/transactions_presenter.dart';
import 'package:wealth_wave/ui/app_dimen.dart';
import 'package:wealth_wave/ui/widgets/create_transaction_dialog.dart';
import 'package:wealth_wave/utils/ui_utils.dart';
Expand Down

0 comments on commit 44e7cc7

Please sign in to comment.