locale function

String locale(
  1. BuildContext context
)

Get the locale string for the context.

Implementation

String locale(BuildContext context) =>
    GalleryOptions.of(context)!.locale.toString();