Created
January 9, 2020 12:21
-
-
Save Cheersupzoo/8328fbfe46179f7a10d2db8ab8b367e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:equatable/equatable.dart'; | |
import 'package:meta/meta.dart'; | |
@immutable | |
abstract class IconlistEvent extends Equatable { | |
IconlistEvent([List props = const[]]) : super(props); | |
} | |
class LoadDefaultIcon extends IconlistEvent{ | |
@override | |
String toString() => 'LoadDefaultIcon'; | |
} | |
class AddIcon extends IconlistEvent{ | |
@override | |
String toString() => 'AddIcon'; | |
} | |
class RemoveIcon extends IconlistEvent{ | |
final int removeIndex; | |
RemoveIcon(this.removeIndex); | |
@override | |
String toString() => 'RemoveIcon'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment