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

system cannot find the file specified.'package:sma/key.dart'; & undefined names in lib/keys/api_keys.dart: #7

Open
RajuNarula369 opened this issue Jan 15, 2022 · 0 comments

Comments

@RajuNarula369
Copy link

lib/keys/api_keys.dart:5:8: Error: Error when reading 'lib/key.dart': The system cannot find the file specified.

import 'package:sma/key.dart';
^
lib/keys/api_keys.dart:10:40: Error: Undefined name 'sentryDNS'.
const String kSentryDomainNameSystem = sentryDNS;
^^^^^^^^^
lib/keys/api_keys.dart:15:33: Error: Undefined name 'alphavantageKey'.
const String kAlphaVantageKey = alphavantageKey;
^^^^^^^^^^^^^^^
lib/keys/api_keys.dart:20:28: Error: Undefined name 'finnhubKey'.
const String kFinnhubKey = finnhubKey;
^^^^^^^^^^
lib/keys/api_keys.dart:25:25: Error: Undefined name 'newsApi'.
const String kNewsKey = newsApi;
^^^^^^^
lib/keys/api_keys.dart:30:42: Error: Undefined name 'financialAPI'.
const String kFinancialModelingPrepApi = financialAPI;
^^^^^^^^^^^^
/C:/src/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/charts_flutter-0.9.0/lib/src/behaviors/legend/legend_entry_layout.dart:133:45: Error: The getter 'body1' isn't defined for the class 'TextTheme'.

  • 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/src/flutter/flutter/packages/flutter/lib/src/material/text_theme.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'body1'.
    color ??= Theme.of(context).textTheme.body1.color;
    ^^^^^
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