title: Im trying to create a splash screen on flutter. Its showing error like these
body: <p>lib/Splash.dart:36:28: Error: Type 'DiagnosticPropertiesBuilder' not found.
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  lib/Splash.dart:36:28: Error: 'DiagnosticPropertiesBuilder' isn't a type.
  void debugFillProperties(DiagnosticPropertiesBuilder properties) {
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  lib/Splash.dart:38:20: Error: The method 'DiagnosticsProperty' isn't defined for the class '_SplashState'.</p>
  <ul>
  <li>'_SplashState' is from 'package:g1/Splash.dart' ('lib/Splash.dart').
  Try correcting the name to the name of an existing method, or defining a method named 'DiagnosticsProperty'.
  properties.add(DiagnosticsProperty('initState', initState));
  ^^^^^^^^^^^^^^^^^^^</li>
  </ul>