info static method
Future
info(
- BuildContext context, {
- String? note,
- String? title,
- bool hasBarrier = false,
- FlashPosition position = FlashPosition.top,
Implementation
static Future info(BuildContext context,
{String? note,
String? title,
bool hasBarrier = false,
FlashPosition position = FlashPosition.top}) {
return _flash(context,
title: title,
borderColor: ClassColors.mtPrimary_5,
backgroundColor: ClassColors.mtPrimary_5.withOpacity(0.5),
hasBarrier: hasBarrier,
note: note,
position: position,
icon:
"""<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.33301 7.99984L6.66634 11.3332L13.333 4.6665" stroke="#16A34A" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
""");
}