createInfo static method

AlertInfoWidget createInfo(
  1. String text, {
  2. dynamic iconData = Icons.info_outline,
  3. dynamic raised = false,
  4. double margin = 10,
})

Implementation

static AlertInfoWidget createInfo(String text,
    {iconData = Icons.info_outline, raised: false, double margin: 10}) {
  return AlertInfoWidget(
    text,
    type: AlertType.INFO,
    iconData: iconData,
    raised: raised,
    margin: margin,
  );
}