Skip to content

Custom function testing doesn’t support Color data type #95

@davood-flutterflow

Description

@davood-flutterflow

Custom function testing doesn’t support Color data type - it only supports vanilla Dart, while Color is a part of Flutter.

A custom function test shouldn't rely on whether there is a color type in the database classes or not.
when we have a color type, even if we don't use them in a function, the whole custom function will fail.

  1. create a new project, and create any collection with a field type color.
  2. create any custom function that do anything and try to test it

It could cause in the whole project we couldn't be able to test our functions and this is very annoying.

--
lib/main.dart....
Error: Type'Color' not found
Color? containerColor

image

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions