ComponentPaginationBase constructor Null safety
Creates instance of ComponentPaginationBase
The *Label
and *Emoji
parameters control the emojis and labels used for the pagination buttons.
Implementation
ComponentPaginationBase(
IInteractions interactions, {
String firstLabel = '<<',
String prevLabel = '<',
String nextLabel = '>',
String lastLabel = '>>',
IEmoji? firstEmoji,
IEmoji? prevEmoji,
IEmoji? nextEmoji,
IEmoji? lastEmoji,
Duration? timeout,
IUser? user,
}) : super(
interactions,
firstLabel: firstLabel,
prevLabel: prevLabel,
nextLabel: nextLabel,
lastLabel: lastLabel,
firstEmoji: firstEmoji,
prevEmoji: prevEmoji,
nextEmoji: nextEmoji,
lastEmoji: lastEmoji,
timeout: timeout,
user: user,
);