meu pubspec.yaml está da seguinte forma:
dependencies:
  flutter:
    sdk: flutter
    sqflite:
    path:sira seu código aquiporém aparece um erro no terminal ao executar o pub get: Error on line 25, column 5 of pubspec.yaml: A dependency may only have one source.
   ╷
25 │ ┌     sdk: flutter
26 │ │     sqflite:
27 │ │     path:
28 │ │ 
29 │ │ 
30 │ │   # The following adds the Cupertino Icons font to your application.
31 │ │   # Use with the CupertinoIcons class for iOS style icons.
32 │ │   cupertino_icons: ^1.0.2
   │ └──^
   ╵
pub get failed (65;    ╵) 
            