symbolWidget method
Returns a symbol widget
Implementation
Widget symbolWidget(int index) {
if (symbolType == SymbolType.Numbered && customSymbol != null) {
return customSymbol!;
} else if (symbolType == SymbolType.Bullet) {
return Text(
'•',
style: boldTextStyle(
color: symbolColor ?? textPrimaryColorGlobal,
//size: 24,
),
);
} else if (symbolType == SymbolType.Numbered) {
return Text(
'${prefixText.validate()} ${index + 1}.',
style: boldTextStyle(
color: symbolColor ?? textPrimaryColorGlobal,
),
);
}
return Offstage();
}