StarsWarrior / BlackHole

A Music Player App made with Flutter
https://appluxit.com/blackhole
GNU General Public License v3.0
215 stars 66 forks source link

Build Issue during flutter run #9

Open tarunsamal opened 2 months ago

tarunsamal commented 2 months ago

Following errors detected while running flutter run

Downloading Web SDK... 5.9s Downloading linux-x64-debug/linux-x64-flutter-gtk tools... 3.0s Downloading linux-x64-profile/linux-x64-flutter-gtk tools... 696ms Downloading linux-x64-release/linux-x64-flutter-gtk tools... 583ms "ar": 329 untranslated message(s). "bn": 281 untranslated message(s). "el": 295 untranslated message(s). "gu": 200 untranslated message(s). "he": 2 untranslated message(s). "id": 2 untranslated message(s). "ja": 64 untranslated message(s). "kn": 299 untranslated message(s). "ml": 136 untranslated message(s). "mn": 320 untranslated message(s). "ne": 226 untranslated message(s). "or": 328 untranslated message(s). "pl": 6 untranslated message(s). "pt": 1 untranslated message(s). "ru": 24 untranslated message(s). "sq": 304 untranslated message(s). "sv": 219 untranslated message(s). "ur": 6 untranslated message(s). "vi": 250 untranslated message(s). "zh": 2 untranslated message(s). "zh_Hans": 329 untranslated message(s). To see a detailed report, use the untranslated-messages-file option in the l10n.yaml file: untranslated-messages-file: desiredFileName.txt

: This will generate a JSON format file containing all messages that need to be translated. Launching lib/main.dart on Linux in debug mode... ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:76:54: Error: Type 'DecoderCallback' not found. ERROR: image_provider.CachedNetworkImageProvider key, DecoderCallback decode) { ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:95:5: Error: Type 'DecoderCallback' not found. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-1.0.0/lib/cached_network_image_platform_interface.dart:24:5: Error: Type 'DecoderCallback' not found. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/_image_loader.dart:22:5: Error: Type 'DecoderCallback' not found. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: Type 'DecoderCallback' not found. ERROR: ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key)); ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: Type 'DecoderCallback' not found. ERROR: ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key)); ERROR: ^^^^^^^^^^^^^^^ ERROR: lib/main.dart:51:9: Error: Setter not found: 'enableDithering'. ERROR: Paint.enableDithering = true; ERROR: ^^^^^^^^^^^^^^^ ERROR: lib/Screens/Home/home.dart:802:68: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Player/audioplayer.dart:429:50: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:830:42: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:877:42: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:959:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:1938:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:1981:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:2139:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:2184:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:2466:63: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:2608:66: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Settings/setting.dart:2647:66: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Home/saavn.dart:344:68: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Home/saavn.dart:859:62: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Search/search.dart:149:23: Error: 'SearchBar' is imported from both 'package:blackhole/CustomWidgets/search_bar.dart' and 'package:flutter/src/material/search_anchor.dart'. ERROR: body: SearchBar( ERROR: ^^^^^^^^^ ERROR: lib/Screens/Search/search.dart:377:74: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Search/search.dart:392:72: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Top%20Charts/top.dart:83:56: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: color: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Top%20Charts/top.dart:91:56: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: color: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/Top%20Charts/top.dart:101:50: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: color: Theme.of(context).textTheme.bodyText1!.color, ERROR: ^^^^^^^^^ ERROR: lib/Screens/YouTube/youtube_home.dart:116:13: Error: 'SearchBar' is imported from both 'package:blackhole/CustomWidgets/search_bar.dart' and 'package:flutter/src/material/search_anchor.dart'. ERROR: body: SearchBar( ERROR: ^^^^^^^^^ ERROR: lib/Screens/YouTube/youtube_home.dart:358:60: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/CustomWidgets/data_search.dart:211:9: Error: No named parameter with the name 'headline6'. ERROR: headline6: ERROR: ^^^^^^^^^ ERROR: lib/CustomWidgets/data_search.dart:451:9: Error: No named parameter with the name 'headline6'. ERROR: headline6: ERROR: ^^^^^^^^^ ERROR: lib/Screens/Library/liked.dart:820:56: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: color: Theme.of(context).textTheme.caption!.color, ERROR: ^^^^^^^ ERROR: lib/CustomWidgets/horizontal_albumlist.dart:280:42: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/Search/artists.dart:444:66: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Search/artists.dart:485:66: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/Search/artists.dart:527:66: Error: The getter 'bodyText1' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'bodyText1'. ERROR: .bodyText1! ERROR: ^^^^^^^^^ ERROR: lib/Screens/YouTube/youtube_search.dart:94:23: Error: 'SearchBar' is imported from both 'package:blackhole/CustomWidgets/search_bar.dart' and 'package:flutter/src/material/search_anchor.dart'. ERROR: body: SearchBar( ERROR: ^^^^^^^^^ ERROR: lib/Screens/YouTube/youtube_search.dart:372:78: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: lib/Screens/YouTube/youtube_search.dart:396:78: Error: The getter 'caption' isn't defined for the class 'TextTheme'. ERROR: - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../flutter/flutter/packages/flutter/lib/src/material/text_theme.dart'). ERROR: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. ERROR: .caption! ERROR: ^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:76:54: Error: 'DecoderCallback' isn't a type. ERROR: image_provider.CachedNetworkImageProvider key, DecoderCallback decode) { ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:95:5: Error: 'DecoderCallback' isn't a type. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image_platform_interface-1.0.0/lib/cached_network_image_platform_interface.dart:24:5: Error: 'DecoderCallback' isn't a type. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/_image_loader.dart:22:5: Error: 'DecoderCallback' isn't a type. ERROR: DecoderCallback decode, ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/fading_edge_scrollview-3.0.0/lib/src/fading_edge_scrollview.dart:116:31: Error: The argument type 'PageController?' can't be assigned to the parameter type 'ScrollController' because 'PageController?' is nullable and 'ScrollController' isn't. ERROR: - 'PageController' is from 'package:flutter/src/widgets/page_view.dart' ('../../flutter/flutter/packages/flutter/lib/src/widgets/page_view.dart'). ERROR: - 'ScrollController' is from 'package:flutter/src/widgets/scroll_controller.dart' ('../../flutter/flutter/packages/flutter/lib/src/widgets/scroll_controller.dart'). ERROR: scrollController: child.controller, ERROR: ^ ERROR: ../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: 'DecoderCallback' isn't a type. ERROR: ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key)); ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: 'DecoderCallback' isn't a type. ERROR: ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key)); ERROR: ^^^^^^^^^^^^^^^ ERROR: ../../../.pub-cache/hosted/pub.dev/package_info_plus_windows-2.0.0/lib/src/file_version_info.dart:13:17: Error: Field 'wLanguage' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`. ERROR: external int? wLanguage; ERROR: ^ ERROR: ../../../.pub-cache/hosted/pub.dev/package_info_plus_windows-2.0.0/lib/src/file_version_info.dart:16:17: Error: Field 'wCodePage' cannot be nullable or have type 'Null', it must be `int`, `double`, `Pointer`, or a subtype of `Struct` or `Union`. ERROR: external int? wCodePage; ERROR: ^ ERROR: Target kernel_snapshot failed: Exception Building Linux application... Error: Build process failed
Shentia commented 1 month ago

Packaged are deleted from Github

SanuSanal commented 3 weeks ago

@Shentia what happened to the app? I saw your repo mentioned in some comments.

https://github.com/Shentia/PlaOn.git

Even this is now not available. What happened? Is there any problem? Could you please share the latest repo?

Shentia commented 2 weeks ago

@Shentia what happened to the app? I saw your repo mentioned in some comments.

https://github.com/Shentia/PlaOn.git

Even this is now not available. What happened? Is there any problem? Could you please share the latest repo?

Hi @SanuSanal actually some libraries loaded from blackhole and no longer available :( blackhole is totally removed and I just customized by myself and available on appstore playon

SanuSanal commented 2 weeks ago

@Shentia what happened to the app? I saw your repo mentioned in some comments. https://github.com/Shentia/PlaOn.git Even this is now not available. What happened? Is there any problem? Could you please share the latest repo?

Hi @SanuSanal actually some libraries loaded from blackhole and no longer available :( blackhole is totally removed and I just customized by myself and available on appstore playon

@Shentia Thanks for your reply.

I'm using an android device and I'm in Ireland. Could you please share the blackhole source code if you have? Or if playon is an open project, could you please share it?