refactor: Update pubspec.yaml files and remove unnecessary background color in PaymentsPage for consistency

This commit is contained in:
Achintha Isuru
2026-02-10 16:32:03 -05:00
parent 2730277075
commit bcd973cf64
4 changed files with 22 additions and 24 deletions

View File

@@ -50,4 +50,5 @@
- How do we handle the current bank account verifcaiton in the current legacy application. - How do we handle the current bank account verifcaiton in the current legacy application.
- We need have a show a list of clothing items in the staff app -> shift page. - We need have a show a list of clothing items in the staff app -> shift page.
- Template models for the pdf reports in the client and web apps. - Template models for the pdf reports in the client and web apps.
- remove `any` type and replace it with the correct types in the codebase.

View File

@@ -5,19 +5,10 @@ publish_to: none
resolution: workspace resolution: workspace
environment: environment:
sdk: '>=3.10.0 <4.0.0' sdk: ">=3.10.0 <4.0.0"
flutter: ">=3.0.0" flutter: ">=3.0.0"
dependencies: dependencies:
flutter:
sdk: flutter
flutter_bloc: ^8.1.0
bloc: ^8.1.0
flutter_modular: ^6.3.0
equatable: ^2.0.5
intl: ^0.20.0
google_fonts: ^7.0.0
# Architecture Packages # Architecture Packages
design_system: design_system:
path: ../../../design_system path: ../../../design_system
@@ -31,6 +22,15 @@ dependencies:
path: ../shifts path: ../shifts
krow_data_connect: krow_data_connect:
path: ../../../data_connect path: ../../../data_connect
flutter:
sdk: flutter
flutter_bloc: ^8.1.0
bloc: ^8.1.0
flutter_modular: ^6.3.0
equatable: ^2.0.5
intl: ^0.20.0
google_fonts: ^7.0.0
firebase_data_connect: firebase_data_connect:
dev_dependencies: dev_dependencies:

View File

@@ -33,7 +33,6 @@ class _PaymentsPageState extends State<PaymentsPage> {
return BlocProvider<PaymentsBloc>.value( return BlocProvider<PaymentsBloc>.value(
value: _bloc, value: _bloc,
child: Scaffold( child: Scaffold(
backgroundColor: const Color(0xFFF8FAFC),
body: BlocBuilder<PaymentsBloc, PaymentsState>( body: BlocBuilder<PaymentsBloc, PaymentsState>(
builder: (BuildContext context, PaymentsState state) { builder: (BuildContext context, PaymentsState state) {
if (state is PaymentsLoading) { if (state is PaymentsLoading) {

View File

@@ -1,23 +1,14 @@
name: staff_payments name: staff_payments
description: Staff Payments feature description: Staff Payments feature
version: 0.0.1 version: 0.0.1
publish_to: 'none' publish_to: "none"
resolution: workspace resolution: workspace
environment: environment:
sdk: '>=3.10.0 <4.0.0' sdk: ">=3.10.0 <4.0.0"
flutter: ">=3.0.0" flutter: ">=3.0.0"
dependencies: dependencies:
flutter:
sdk: flutter
firebase_data_connect: ^0.2.2+2
firebase_auth: ^6.1.4
flutter_modular: ^6.3.2
lucide_icons: ^0.257.0
intl: ^0.20.0
fl_chart: ^0.66.0
# Internal packages # Internal packages
design_system: design_system:
path: ../../../design_system path: ../../../design_system
@@ -30,10 +21,17 @@ dependencies:
krow_data_connect: krow_data_connect:
path: ../../../data_connect path: ../../../data_connect
flutter:
sdk: flutter
firebase_data_connect: ^0.2.2+2
firebase_auth: ^6.1.4
flutter_modular: ^6.3.2
lucide_icons: ^0.257.0
intl: ^0.20.0
fl_chart: ^0.66.0
flutter_bloc: any flutter_bloc: any
equatable: any equatable: any
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^6.0.0 flutter_lints: ^6.0.0