Does dart have some sort of alias for naming conflicts like this?
library flutterfly; import 'dart:ui'; class Color { Color._(); // Color should be the class from dart:ui instead of itself. static Color white() { return Color(#FFFFFFFF); } }
https://stackoverflow.com/questions/66937190/how-would-you-resolve-a-naming-conflict-inside-dart April 04, 2021 at 09:08AM
没有评论:
发表评论