showTopNotifcation static method

dynamic showTopNotifcation({
  1. String title = '您有新订单,请及时处理',
  2. String subTitle = '您有新订单,请及时处理',
  3. Function? callBack,
})

Implementation

static showTopNotifcation(
    {String title = '您有新订单,请及时处理',
    String subTitle = '您有新订单,请及时处理',
    Function? callBack}) {
  stackDialog(
      tag: 'order',
      height: 120.w,
      title: title,
      subTitle: subTitle,
      alignment: Alignment.topCenter,
      callBack: callBack);
}