Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
part of 'settings_bloc.dart';
@immutable
abstract class SettingsEvent {
final dynamic payload;
SettingsEvent(this.payload);
}
class FontSize extends SettingsEvent {
FontSize(double payload) : super(payload);
}
class Bold extends SettingsEvent {
Bold(bool payload) : super(payload);
}
class Italic extends SettingsEvent {
Italic(bool payload) : super(payload);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.