title: How to get the current locale in Flutter using the GetX package?
body: <p>The example  <a href="https://pub.dev/packages/get/example" rel="noreferrer">https://pub.dev/packages/get/example</a>  only shows setting the locale from a string manually:</p>
  <pre><code>void main() {
    runApp(GetMaterialApp(
      ...
      locale: Locale('pt', 'BR'),
      ...
  </code></pre>
  <p>If I don't use &quot;locale: Locale ('pt', 'BR')&quot;, then code like Text(&quot;title&quot;.tr) don't work.
  So, I need setup current locale to &quot;locale&quot; property, but how get current locale?</p>