Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error: The getter 'a,r,g,b' isn't defined for the class 'Color'. #49

@bayramaliunuvar

Description

@bayramaliunuvar

clever_ads_solutions: I am getting the following error in version ^4.4.2;

`/C:/Users/BAU/AppData/Local/Pub/Cache/hosted/pub.dev/clever_ads_solutions-4.4.2/lib/src/internal_bridge.dart:357:34: Error: The getter 'a' isn't defined for the class 'Color'.

  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'a'.
    writeValue(buffer, (value!.a * 255).toInt());
    ^
    /C:/Users/BAU/AppData/Local/Pub/Cache/hosted/pub.dev/clever_ads_solutions-4.4.2/lib/src/internal_bridge.dart:358:34: Error: The getter 'r' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'r'.
    writeValue(buffer, (value!.r * 255).toInt());
    ^
    /C:/Users/BAU/AppData/Local/Pub/Cache/hosted/pub.dev/clever_ads_solutions-4.4.2/lib/src/internal_bridge.dart:359:34: Error: The getter 'g' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'g'.
    writeValue(buffer, (value!.g * 255).toInt());
    ^
    /C:/Users/BAU/AppData/Local/Pub/Cache/hosted/pub.dev/clever_ads_solutions-4.4.2/lib/src/internal_bridge.dart:360:34: Error: The getter 'b' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'b'.
    writeValue(buffer, (value!.b * 255).toInt());`

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