Skip to content

Error on lauching Android: The non-abstract class 'SfLocalizations... #499

Closed
@mdmota

Description

@mdmota

I'm using a syncfusion_localizations version: ^19.3.47 in my pubspec.yaml. When running my android app it generates several errors referring to a newer version that I don't use:

`/C:/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_localizations-19.4.38/lib/src/l10n/generated_syncfusion_localizations.dart:17:7: Error: The non-abstract class 'SfLocalizationsAf' is missing implementations for these members:

  • SfLocalizations.rowsPerPageDataPagerLabel
    Try to either
  • provide an implementation,
  • inherit an implementation from a superclass or mixin,
  • mark the class as abstract, or
  • provide a 'noSuchMethod' implementation.

class SfLocalizationsAf extends SfGlobalLocalizations {
^^^^^^^^^^^^^^^^^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_core-19.4.38/lib/src/localizations/global_localizations.dart:161:14: Context: 'SfLocalizations.rowsPerPageDataPagerLabel' is defined here.
String get rowsPerPageDataPagerLabel;
^^^^^^^^^^^^^^^^^^^^^^^^^`

Flutter 2.5.3

Attached console output
console.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions