Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while trying to run #24

Open
KannanRams opened this issue Oct 23, 2024 · 0 comments
Open

error while trying to run #24

KannanRams opened this issue Oct 23, 2024 · 0 comments

Comments

@KannanRams
Copy link

lib/features/funds/model/fund_service.dart:1:8: Error: Error when reading 'lib/credentials.dart': The system cannot find the file specified.

import 'package:expense_kit/credentials.dart';
^
lib/features/funds/model/fund_service.dart:6:28: Error: The getter 'credentials' isn't defined for the class 'MutualFundService'.

  • 'MutualFundService' is from 'package:expense_kit/features/funds/model/fund_service.dart' ('lib/features/funds/model/fund_service.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'credentials'.
    final sheets = GSheets(credentials);
    ^^^^^^^^^^^
    lib/features/funds/model/fund_service.dart:8:41: Error: The getter 'sheetId' isn't defined for the class 'MutualFundService'.
  • 'MutualFundService' is from 'package:expense_kit/features/funds/model/fund_service.dart' ('lib/features/funds/model/fund_service.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'sheetId'.
    final ss = await sheets.spreadsheet(sheetId);
    ^^^^^^^
    lib/features/funds/model/fund_service.dart:17:28: Error: The getter 'credentials' isn't defined for the class 'MutualFundService'.
  • 'MutualFundService' is from 'package:expense_kit/features/funds/model/fund_service.dart' ('lib/features/funds/model/fund_service.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'credentials'.
    final sheets = GSheets(credentials);
    ^^^^^^^^^^^
    lib/features/funds/model/fund_service.dart:19:41: Error: The getter 'sheetId' isn't defined for the class 'MutualFundService'.
  • 'MutualFundService' is from 'package:expense_kit/features/funds/model/fund_service.dart' ('lib/features/funds/model/fund_service.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'sheetId'.
    final ss = await sheets.spreadsheet(sheetId);
    ^^^^^^^
    lib/utils/currency_utils.dart:6:75: Error: Too few positional arguments: 1 required, 0 given.
    static CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/utils/currency_utils.dart:15:72: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/view/expense/expense_list.dart:30:74: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/view/expense/add_expense.dart:37:74: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/view/expense/balance_card.dart:9:72: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/view/emi/emi_view.dart:21:74: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    lib/view/emi/add_emi.dart:42:76: Error: Too few positional arguments: 1 required, 0 given.
    final CurrencyTextInputFormatter formatter = CurrencyTextInputFormatter(
    ^
    /C:/Users/kannan.ramasamy/AppData/Local/Pub/Cache/hosted/pub.dev/currency_text_input_formatter-2.2.6/lib/currency_text_input_formatter.dart:26:11: Context: Found this candidate, but the arguments don't match.
    factory CurrencyTextInputFormatter(
    ^
    Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant