Created
September 11, 2020 12:07
This file contains hidden or 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
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