Error on latest Flutter master due to removal of deprecated colour Getter - The getter 'shade50' isn't defined for the class 'MaterialAccentColor'
Issue #51
resolved
Greetings,
On the latest Flutter master flutter_treeview has some error that appear to be due to a removed Getter in Flutter
https://github.com/flutter/flutter/pull/93507
Local/Pub/Cache/hosted/pub.dartlang.org/flutter_treeview-1.0.6+1/lib/src/utilities.dart:230:42: Error: The getter 'shade50' isn't defined for the class 'MaterialAccentColor'.
'MaterialAccentColor' is from 'package:flutter/src/material/colors.dart'
Comments (3)
-
-
Hi Jon, apologies for not getting to this sooner. I’ve been away from this project for a bit due to other priorities. I will take a look at this today and try to get it resolved.
-
- changed status to resolved
Issue resolved with latest release
- Log in to comment
Hi, I’ve hit this after updating the Flutter SDK. It looks easy enough to fix, by just removing the 'shade50' references, but it looks like actually the whole
getColor
function isn’t used except by the utilities tests?