showSample static method

void showSample(
  1. BuildContext context
)

Implementation

static void showSample(BuildContext context) => showDialog(
      context: context,
      builder: (BuildContext context) => DefaultDialog(
        title: '預約成功',
        actionText: '我知道了',
        actionFunction: () =>
            Navigator.of(context, rootNavigator: true).pop('dialog'),
        contentWidget: Text(
          '預約日期:2017/09/05\n上車地點:燕巢校區\n預約班次:08:20',
          style: TextStyle(color: ApTheme.of(context).grey, height: 1.3),
        ),
      ),
    );