customize static method

BeautifulPopup customize({
  1. required BuildContext context,
  2. required BeautifulPopupTemplate build(
    1. BeautifulPopup options
    ),
})

Implementation

static BeautifulPopup customize({
  required BuildContext context,
  required BeautifulPopupTemplate Function(BeautifulPopup options) build,
}) {
  final popup = BeautifulPopup(
    context: context,
    template: null,
  );
  popup._build = build;
  return popup;
}