showPIDialogBuilder<P, R> function

dynamic showPIDialogBuilder<P, R>({
  1. String titleBuilder(
    1. P params
    )?,
  2. Widget titleWidgetBuilder(
    1. P params
    )?,
  3. String contentBuilder(
    1. P params
    )?,
  4. Widget contentWidgetBuilder(
    1. P params
    )?,
})

P 参数类型 R 返回结果类型

Implementation

showPIDialogBuilder<P, R>({
  /// 构建标题
  String Function(P params)? titleBuilder,
  Widget Function(P params)? titleWidgetBuilder,

  /// 构建内容
  String Function(P params)? contentBuilder,
  Widget Function(P params)? contentWidgetBuilder,
}) {}