我正在使用的进口:
import 'package:flutter/material.dart';
import 'package:splashscreen/splashscreen.dart';
import 'package:imagetotext/homePage.dart';
Run Code Online (Sandbox Code Playgroud)
然而,linter 给了我以下警告:
The library 'package:splashscreen/splashscreen.dart'' is legacy, and should not be imported into a null safe library. Try migrating the imported library. import_of_legacy_library_into_null_safe
Run Code Online (Sandbox Code Playgroud)
我正在使用的依赖项:
cupertino_icons: ^1.0.3
splashscreen: ^1.3.3
Run Code Online (Sandbox Code Playgroud)