How to Configure Firebase Firestore settings with Flutter : <p>I'm evaluating the <a href="https://pub.dartlang.org/packages/cloud_firestore" rel="noreferrer">Firestore Plugin for Flutter</a>.</p>

<p>This snippet works as expected, it inserts a record into firestore when the floating button in pressed:</p>

<pre><code>import 'package:flutter/material.dart';
import 'package:cloud_firestore/cloud_firestore.dart';

void main() =&gt; runApp(new MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter Demo',
      theme: new ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() =&gt; new _MyHomePageState();
}

class _MyHomePageState extends State&lt;MyHomePage&gt; {
  int _counter = 0;

  Firestore firestore;

  _MyHomePageState() {
    firestore = Firestore.instance;
  }

  void _addBoard() {
    setState(() {
      _counter++;
      firestore.collection("boards").document().setData({ 'name': 'mote_$_counter', 'descr': 'long descr $_counter' });
    });
  }

  @override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: new AppBar(
        title: new Text(widget.title),
      ),
      body: new Center(
        child: new Column(
         mainAxisAlignment: MainAxisAlignment.center,
          children: &lt;Widget&gt;[
            new Text(
              'You have pushed the button this many times:',
            ),
            new Text(
              '$_counter',
              style: Theme.of(context).textTheme.display1,
            ),
          ],
        ),
      ),
      floatingActionButton: new FloatingActionButton(
        onPressed: _addBoard,
        child: new Icon(Icons.add),
      ), 
  }
}
</code></pre>

<p>Running with <code>flutter run</code> the console show the warning:</p>

<pre><code>W/Firestore(31567): (0.6.6-dev) [Firestore]: The behavior for java.util.Date objects stored in Firestore is going to change AND YOUR APP MAY BREAK.
W/Firestore(31567): To hide this warning and ensure your app does not break, you need to add the following code to your app before calling any other Cloud Firestore methods:
W/Firestore(31567): 
W/Firestore(31567): FirebaseFirestore firestore = FirebaseFirestore.getInstance();
W/Firestore(31567): FirebaseFirestoreSettings settings = new FirebaseFirestoreSettings.Builder()
W/Firestore(31567):     .setTimestampsInSnapshotsEnabled(true)
W/Firestore(31567):     .build();
W/Firestore(31567): firestore.setFirestoreSettings(settings);
W/Firestore(31567): 
W/Firestore(31567): With this change, timestamps stored in Cloud Firestore will be read back as com.google.firebase.Timestamp objects instead of as system java.util.Date objects. So you will also need to update code expecting a java.util.Date to instead expect a Timest        
</code></pre>

<p>There is a way to configure the FirebaseFirestore instance and thus fix this issue with date settings?</p>
