three_dart
three_dart copied to clipboard
Three Js Color class is in conflit with Color from dart ui
When importing import 'package:three_dart/three_dart.dart';
All my Color.fromRGBO are wrong because the dart ui and three dart Color Classes are in conflit.
Edit : Can be contourned by import 'package:three_dart/three_dart.dart' as Three.
There is two ways to handle this one is the way you suggested
import 'package:three_dart/three_dart.dart' as Three;
The other way is if you don't need the three_dart color class just hide it
import 'package:three_dart/three_dart.dart' hide Color;