title: how to assign hexadecimal color code in primarySwatch in flutter?
body: <p>i would like to insert an hexadecimal color code in the primarySwatch property, here is what i have tried to do :</p>
  
  <pre><code>           return MaterialApp(
               title: 'Login Demo',
               theme: ThemeData(
                // brightness: Brightness.dark,
                 primarySwatch: Color(0xFF3399FF),
  </code></pre>