Skip to content

Error: The method 'withValues' isn't defined for the class 'Color'. #2308

Open
@ShahzaibH414

Description

@ShahzaibH414

import 'package:flutter/material.dart';
import '../../../Constants/custom_fonts.dart';
import 'home_screen_table.dart';
import 'package:syncfusion_flutter_charts/charts.dart';

class RevenueChart extends StatelessWidget {
const RevenueChart({super.key});

@OverRide
Widget build(BuildContext context) {
final List chartData = [
SalesData(DateTime(2010), 35),
SalesData(DateTime(2011), 28),
SalesData(DateTime(2012), 34),
SalesData(DateTime(2013), 32),
SalesData(DateTime(2014), 40)
];
return Scaffold(
body: Center(
child: Container(
child: SfCartesianChart(
primaryXAxis: DateTimeAxis(),
series: [
// Renders line chart
LineSeries<SalesData, DateTime>(
dataSource: chartData,
xValueMapper: (SalesData sales, _) => sales.year,
yValueMapper: (SalesData sales, _) => sales.sales
)
]
)
)
)
);
}
}

class SalesData {
SalesData(this.year, this.sales);
final DateTime year;
final double sales;
}


Performing hot reload...
Syncing files to device sdk gphone64 arm64...
../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/axis/axis.dart:3868:42: Error: The method 'withValues' isn't defined for the class 'Color'.

  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    paint.color = plotBand.color.withValues(alpha: plotBand.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/axis/axis.dart:3882:40: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? plotBand.borderColor.withValues(alpha: plotBand.opacity)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/axis/axis.dart:3949:33: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color: style.color?.withValues(alpha: plotBand.opacity));
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/axis/axis.dart:3984:33: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color: style.color?.withValues(alpha: plotBand.opacity));
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/behaviors/zooming.dart:1115:21: 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'.
    fillColor.a == 1) {
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/behaviors/zooming.dart:1116:31: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    fillColor = fillColor.withValues(alpha: 0.3);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/data_label.dart:754:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    return settings.color!.withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/data_label.dart:760:12: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    .withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/box_and_whisker_series.dart:1131:37: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ..color = strokePaint.color.withValues(alpha: opacity)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1881:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color = color.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1884:35: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    strokeColor = strokeColor.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1896:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color = color.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1901:37: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    strokeColor = strokeColor.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1909:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color = color.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/chart_series.dart:1914:37: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    strokeColor = strokeColor.withValues(alpha: opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/radial_bar_series.dart:337:39: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    segment.fillPaint.color.withValues(alpha: trackOpacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/series/radial_bar_series.dart:340:26: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    trackColor.withValues(alpha: trackOpacity);
    ^^^^^^^^^^
    D/EGL_emulation( 4262): app_time_stats: avg=84.68ms min=3.31ms max=3220.47ms count=42
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/trendline/trendline.dart:2497:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ..color = color!.withValues(alpha: opacity)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/utils/shape_helper.dart:1009:51: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    borderPaint..color = Colors.grey.shade300.withValues(alpha: 0.5));
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/utils/shape_helper.dart:1014:51: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    borderPaint..color = Colors.grey.shade300.withValues(alpha: 0.5));
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/utils/shape_helper.dart:1067:51: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    borderPaint..color = Colors.grey.shade300.withValues(alpha: 0.5));
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/utils/helper.dart:342:16: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/utils/helper.dart:342:40: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/utils/helper.dart:342:64: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/core_legend.dart:1662:31: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    color: details.color!.withValues(alpha: widget.iconOpacity),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/core_legend.dart:1870:51: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? widget.textStyle.color!.withValues(
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/circular_data_label.dart:168:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    return settings.color!.withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/circular_data_label.dart:171:12: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    .withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/funnel_data_label.dart:150:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    return settings.color!.withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/funnel_data_label.dart:155:12: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    .withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/pyramid_data_label.dart:150:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    return settings.color!.withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/charts/common/pyramid_data_label.dart:153:12: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    .withValues(alpha: settings.opacity);
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:34:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    26: primary.withValues(alpha: 0.1),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:41:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    20: primary.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:42:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    30: primary.withValues(alpha: 0.1),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:43:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: primary.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:44:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    61: primary.withValues(alpha: 0.24),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:45:22: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    138: primary.withValues(alpha: 0.54),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:58:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    74: onPrimary.withValues(alpha: 0.29),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:60:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onPrimary.withValues(alpha: 0.29)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:61:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : surface.withValues(alpha: 0.56),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:62:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: onPrimary.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:63:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    138: onPrimary.withValues(alpha: 0.54),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:71:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? Colors.black.withValues(alpha: 0.08)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:72:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : Colors.white.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:79:33: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    204: secondaryContainer.withValues(alpha: 0.8),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:80:33: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    205: secondaryContainer.withValues(alpha: 0.8),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:87:20: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    0: surface.withValues(alpha: 0.0001),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:88:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: surface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:89:22: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    143: surface.withValues(alpha: 0.56),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:104:22: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    0: onSurface.withValues(alpha: 0.001),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:105:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    10: onSurface.withValues(alpha: 0.04),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:106:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    11: onSurface.withValues(alpha: 0.04),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:107:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    19: onSurface.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:108:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    20: onSurface.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:109:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    21: onSurface.withValues(alpha: 0.081),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:110:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    22: onSurface.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:113:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.09),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:114:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    23: onSurface.withValues(alpha: 0.09),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:115:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    28: onSurface.withValues(alpha: 0.11),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:117:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.11)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:118:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.24),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:119:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: onSurface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:120:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    32: onSurface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:121:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    33: onSurface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:122:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    34: onSurface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:124:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.12)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:125:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.24),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:126:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    41: onSurface.withValues(alpha: 0.16),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:127:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    42: onSurface.withValues(alpha: 0.16),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:128:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    43: onSurface.withValues(alpha: 0.17),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:130:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.18)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:131:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.27),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:133:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.18)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:134:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.43),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:135:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    61: onSurface.withValues(alpha: 0.24),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:136:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    66: onSurface.withValues(alpha: 0.26),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:137:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    69: onSurface.withValues(alpha: 0.27),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:142:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.28)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:143:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.33),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:145:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.26)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:146:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.30),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:147:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    77: onSurface.withValues(alpha: 0.30),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:148:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    82: onSurface.withValues(alpha: 0.32),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:149:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    84: onSurface.withValues(alpha: 0.33),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:150:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    92: onSurface.withValues(alpha: 0.36),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:151:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    94: onSurface.withValues(alpha: 0.37),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:153:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.37)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:154:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.17),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:155:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    97: onSurface.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:156:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    98: onSurface.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:157:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    110: onSurface.withValues(alpha: 0.43),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:158:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    135: onSurface.withValues(alpha: 0.53),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:159:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    138: onSurface.withValues(alpha: 0.54),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:160:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    153: onSurface.withValues(alpha: 0.6),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:161:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    154: onSurface.withValues(alpha: 0.6),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:162:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    179: onSurface.withValues(alpha: 0.7),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:164:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.72)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:166:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    217: onSurface.withValues(alpha: 0.85),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:167:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    222: onSurface.withValues(alpha: 0.87),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:169:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.87)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:174:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    227: onSurface.withValues(alpha: 0.89),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:175:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    228: onSurface.withValues(alpha: 0.89),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:195:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    97: onSurfaceVariant.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:197:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? Colors.black.withValues(alpha: 0.54)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:198:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : Colors.white.withValues(alpha: 0.54),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:200:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? Colors.black.withValues(alpha: 0.6)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:201:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : Colors.white.withValues(alpha: 0.6),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:256:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? Colors.black.withValues(alpha: 0.16)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:257:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : Colors.white.withValues(alpha: 0.16),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:259:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.53)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:260:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.85),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:273:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    0: transparent.withValues(alpha: 0.0001),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:283:28: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? Colors.white.withValues(alpha: 0.75)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:284:51: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : const Color.fromRGBO(48, 48, 48, 1).withValues(alpha: 0.75),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:319:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? primary.withValues(alpha: 0.1)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:320:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : primary.withValues(alpha: 0.3),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:322:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    30: primary.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:323:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: primary.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:325:31: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    138: onSurfaceVariant.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:334:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: onSurfaceVariant.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:336:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    138: onPrimary.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:350:33: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    204: secondaryContainer.withValues(alpha: 0.8),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:358:20: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    0: surface.withValues(alpha: 0.0001),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:359:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: surface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:377:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    10: primary.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:378:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    11: onSurface.withValues(alpha: 0.04),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:380:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    20: primary.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:384:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.09),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:386:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    31: onSurface.withValues(alpha: 0.12),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:389:30: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    34: onSurfaceVariant.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:394:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    61: onSurface.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:399:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    82: onSurface.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:400:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    92: onSurface.withValues(alpha: 0.36),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:403:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    ? onSurface.withValues(alpha: 0.37)
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:404:25: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    : onSurface.withValues(alpha: 0.17),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:405:23: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    97: onSurface.withValues(alpha: 0.38),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:407:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    153: onSurface.withValues(alpha: 0.6),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:410:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    222: onSurface.withValues(alpha: 0.87),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:413:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    227: onSurface.withValues(alpha: 0.89),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:473:24: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    0: transparent.withValues(alpha: 0.0001),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:474:21: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    20: primary.withValues(alpha: 0.08),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:482:19: Error: The method 'withValues' isn't defined for the class 'Color'.
  • 'Color' is from 'dart:ui'.
    Try correcting the name to the name of an existing method, or defining a method named 'withValues'.
    82: scrim.withValues(alpha: 0.32),
    ^^^^^^^^^^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:564:25: 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'.
    return _floatToInt8(a) << 24 |
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:565:22: 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'.
    _floatToInt8(r) << 16 |
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:566:22: 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'.
    _floatToInt8(g) << 8 |
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_core-28.2.11/lib/src/theme/color_scheme.dart:567:22: 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'.
    _floatToInt8(b) << 0;
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/sparkline/utils/helper.dart:16:16: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/sparkline/utils/helper.dart:16:40: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_charts-28.2.11/lib/src/sparkline/utils/helper.dart:16:64: 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'.
    (((color.r * 255) * 299 + (color.g * 255) * 587 + (color.b * 255) * 114) /
    ^
    D/EGL_emulation( 4262): app_time_stats: avg=91.72ms min=3.39ms max=3196.19ms count=39
    D/EGL_emulation( 4262): app_time_stats: avg=76.39ms min=3.34ms max=3249.73ms count=46
    D/EGL_emulation( 4262): app_time_stats: avg=79.86ms min=3.16ms max=3207.82ms count=44
    D/EGL_emulation( 4262): app_time_stats: avg=85.25ms min=1.87ms max=3210.97ms count=45
    D/EGL_emulation( 4262): app_time_stats: avg=89.15ms min=3.07ms max=3187.95ms count=41
    D/EGL_emulation( 4262): app_time_stats: avg=68.58ms min=3.22ms max=3201.64ms count=50
    D/EGL_emulation( 4262): app_time_stats: avg=79.88ms min=2.75ms max=3231.73ms count=44
    D/EGL_emulation( 4262): app_time_stats: avg=79.84ms min=3.07ms max=3224.40ms count=44
    D/EGL_emulation( 4262): app_time_stats: avg=109.74ms min=2.06ms max=3229.39ms count=35
    D/EGL_emulation( 4262): app_time_stats: avg=83.82ms min=1.50ms max=3198.12ms count=42
    D/EGL_emulation( 4262): app_time_stats: avg=89.79ms min=1.02ms max=3237.33ms count=41
    D/EGL_emulation( 4262): app_time_stats: avg=95.09ms min=1.66ms max=3220.59ms count=38
    D/EGL_emulation( 4262): app_time_stats: avg=111.90ms min=2.13ms max=3160.30ms count=33
    D/EGL_emulation( 4262): app_time_stats: avg=82.88ms min=3.22ms max=3217.58ms count=45
    D/EGL_emulation( 4262): app_time_stats: avg=96.60ms min=3.02ms max=3200.20ms count=40
    D/EGL_emulation( 4262): app_time_stats: avg=76.61ms min=2.60ms max=3222.55ms count=47
    D/EGL_emulation( 4262): app_time_stats: avg=87.95ms min=2.71ms max=3179.83ms count=40
    D/EGL_emulation( 4262): app_time_stats: avg=74.35ms min=2.92ms max=3220.99ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=84.66ms min=3.22ms max=3202.27ms count=45
    D/EGL_emulation( 4262): app_time_stats: avg=76.27ms min=3.20ms max=3205.10ms count=46
    D/EGL_emulation( 4262): app_time_stats: avg=85.08ms min=10.15ms max=3203.58ms count=47
    D/EGL_emulation( 4262): app_time_stats: avg=79.20ms min=3.66ms max=3190.01ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=83.48ms min=9.81ms max=3199.63ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=83.34ms min=12.86ms max=3197.71ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=67.72ms min=3.12ms max=3177.96ms count=50
    D/EGL_emulation( 4262): app_time_stats: avg=83.42ms min=7.83ms max=3196.04ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=83.34ms min=11.68ms max=3197.69ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=77.65ms min=3.58ms max=3186.05ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=83.36ms min=10.62ms max=3188.93ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=94.46ms min=3.69ms max=3206.82ms count=40
    D/EGL_emulation( 4262): app_time_stats: avg=79.10ms min=3.23ms max=3194.61ms count=46
    D/EGL_emulation( 4262): app_time_stats: avg=74.42ms min=2.93ms max=3185.44ms count=47
    D/EGL_emulation( 4262): app_time_stats: avg=83.29ms min=7.55ms max=3197.22ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=73.06ms min=2.54ms max=3182.32ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=79.32ms min=3.24ms max=3196.98ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=79.27ms min=3.14ms max=3266.47ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=88.43ms min=2.65ms max=3154.72ms count=43
    D/EGL_emulation( 4262): app_time_stats: avg=83.82ms min=6.74ms max=3379.41ms count=50
    D/EGL_emulation( 4262): app_time_stats: avg=81.89ms min=3.19ms max=3046.49ms count=41
    D/EGL_emulation( 4262): app_time_stats: avg=80.18ms min=3.11ms max=3227.54ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=69.64ms min=2.88ms max=3173.05ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=80.78ms min=3.05ms max=3202.13ms count=45
    D/EGL_emulation( 4262): app_time_stats: avg=77.53ms min=2.83ms max=3185.88ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=77.90ms min=3.24ms max=3199.68ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=75.16ms min=3.02ms max=3190.50ms count=48
    D/EGL_emulation( 4262): app_time_stats: avg=73.37ms min=2.88ms max=3192.00ms count=49
    D/EGL_emulation( 4262): app_time_stats: avg=77.65ms min=3.30ms max=3207.23ms count=47
    D/EGL_emulation( 4262): app_time_stats: avg=84.27ms min=3.18ms max=3200.03ms count=43
    D/EGL_emulation( 4262): app_time_stats: avg=82.81ms min=3.25ms max=3212.40ms count=45
    D/EGL_emulation( 4262): app_time_stats: avg=80.38ms min=2.89ms max=3259.06ms count=46
    D/EGL_emulation( 4262): app_time_stats: avg=91.52ms min=2.50ms max=3214.17ms count=39
    D/EGL_emulation( 4262): app_time_stats: avg=90.64ms min=9.18ms max=3162.86ms count=43

Metadata

Metadata

Assignees

No one assigned

    Labels

    chartsCharts componentwaiting for customer responseCannot make further progress until the customer responds.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions