Playing around with Bloc in Flutter.
In the Bloc event, I faced a problem regarding Equatable.
At first, I cannot import equatable
package: import 'package:equatable/equatable.dart'; The error says:
"The part-of directive must be the only directive in a part. Try removing other directives, or moving them to the library for which this is a part".
Later on, when I create the Event and extends Equatable, the error says: "Classes can only extend other classes. Try specifying a different superclass, or removing the extends clause".
(FYI: I put into the pubspec.yaml
the equitable dependency).
I will appreciate your assistance, as always!