title: Create build flavor on Flutter
body: <p>I'm new on Flutter but I'm Android developer.</p>
  
  <p>When I created a new Android project. I always prepare two build variant <code>debug</code> and <code>release</code> which provide me a <code>BuildConfig.DEBUG</code> variable with the value depended on which build variant I choose. I'm not sure about iOS. However, when I created a new Flutter project, I cant find the ways to point the gradle build me something like that.</p>
  
  <p>Example code:</p>
  
  <pre><code>class RikimaruApplication extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: "Rikimaru Application",
        theme: ThemeData(),
        debugShowCheckedModeBanner: false,  \\ =&gt; debugShowCheckedModeBanner: BuildConfig.DEBUG,
      );
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/oPVeO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oPVeO.png" alt="Android Studio"></a></p>
  
  <p>I searched Google with <code>flutter build variants</code> key word but fail. Please teach me how to research about this problem.</p>