Skip to content

Error: The getter 'accentColor' isn't defined for the class 'ThemeData'. doesn't work from flutter_paystack #162

Description

@kehindemary

../.pub-cache/git/flutter_paystack-a4a33c3dd0a12f46d655a2e63d11e9f20ba82d01/lib/src/widgets/input/pin_field.dart:48:55: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.

  • 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('../programs/flutter/packages/flutter/lib/src/material/theme_data.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'accentColor'.
    BorderSide(color: Theme.of(context).accentColor, width: 1.0)),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions