onLinearGradient abstract method

void onLinearGradient(
  1. double fromX,
  2. double fromY,
  3. double toX,
  4. double toY,
  5. Int32List colors,
  6. Float32List? offsets,
  7. int tileMode,
  8. int id,
)

A linear gradient shader has been parsed.

Implementation

void onLinearGradient(
  double fromX,
  double fromY,
  double toX,
  double toY,
  Int32List colors,
  Float32List? offsets,
  int tileMode,
  int id,
);