LocaleBuilder typedef

LocaleBuilder = Widget Function(BuildContext context, Locale? currentLocale)

构建区域的回调类型

context - 当前构建上下文 currentLocale - 当前语言环境

Implementation

typedef LocaleBuilder =
    Widget Function(BuildContext context, Locale? currentLocale);