• 1400/12/08

رفع خطای سیستمی :

سلام با اضافه کردن کتابخانه syncfusion به پروژه ام با این خط روبرو میشم.

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_gauges-19.4.53/lib/src/radial_gauge/pointers/marker_pointer_renderer.dart:631:34: Error: The getter 'secondaryContainer' isn't defined for the class 'ColorScheme'.

- 'ColorScheme' is from 'package:flutter/src/material/color_scheme.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/color_scheme.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'secondaryContainer'.

         _themeData.colorScheme.secondaryContainer.withOpacity(0.8)

                                ^^^^^^^^^^^^^^^^^^

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_gauges-19.4.53/lib/src/radial_gauge/pointers/marker_pointer_renderer.dart:642:36: Error: The getter 'secondaryContainer' isn't defined for the class 'ColorScheme'.

- 'ColorScheme' is from 'package:flutter/src/material/color_scheme.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/color_scheme.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'secondaryContainer'.

           _themeData.colorScheme.secondaryContainer.withOpacity(0.12)

                                  ^^^^^^^^^^^^^^^^^^

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/syncfusion_flutter_gauges-19.4.53/lib/src/radial_gauge/pointers/range_pointer_renderer.dart:567:34: Error: The getter 'secondaryContainer' isn't defined for the class 'ColorScheme'.

- 'ColorScheme' is from 'package:flutter/src/material/color_scheme.dart' ('/C:/src/flutter/packages/flutter/lib/src/material/color_scheme.dart').

Try correcting the name to the name of an existing getter, or defining a getter or field named 'secondaryContainer'.

         _themeData.colorScheme.secondaryContainer.withOpacity(0.8)
  • 1400/12/08
  • ساعت 13:37

سلام سلامت باشین

این موارد رو من که درس ندادم بهتون :)


logo-enamadlogo-samandehi