pubspec.yaml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. name: keyboard_android_example
  2. description: "Demonstrates how to use the keyboard_android plugin."
  3. # The following line prevents the package from being accidentally published to
  4. # pub.dev using `flutter pub publish`. This is preferred for private packages.
  5. publish_to: 'none' # Remove this line if you wish to publish to pub.dev
  6. environment:
  7. sdk: ^3.7.2
  8. # Dependencies specify other packages that your package needs in order to work.
  9. # To automatically upgrade your package dependencies to the latest versions
  10. # consider running `flutter pub upgrade --major-versions`. Alternatively,
  11. # dependencies can be manually updated by changing the version numbers below to
  12. # the latest version available on pub.dev. To see which dependencies have newer
  13. # versions available, run `flutter pub outdated`.
  14. dependencies:
  15. flutter:
  16. sdk: flutter
  17. # 依赖本插件
  18. keyboard_android:
  19. # When depending on this package from a real application you should use:
  20. # keyboard_android: ^x.y.z
  21. # See https://dart.dev/tools/pub/dependencies#version-constraints
  22. # The example app is bundled with the plugin so we use a path dependency on
  23. # the parent directory to use the current plugin's version.
  24. path: ../
  25. # The following adds the Cupertino Icons font to your application.
  26. # Use with the CupertinoIcons class for iOS style icons.
  27. cupertino_icons: ^1.0.8
  28. # Loading弹窗和Toast
  29. flutter_easyloading: ^3.0.5
  30. dev_dependencies:
  31. integration_test:
  32. sdk: flutter
  33. flutter_test:
  34. sdk: flutter
  35. # The "flutter_lints" package below contains a set of recommended lints to
  36. # encourage good coding practices. The lint set provided by the package is
  37. # activated in the `analysis_options.yaml` file located at the root of your
  38. # package. See that file for information about deactivating specific lint
  39. # rules and activating additional ones.
  40. flutter_lints: ^5.0.0
  41. # For information on the generic Dart part of this file, see the
  42. # following page: https://dart.dev/tools/pub/pubspec
  43. # The following section is specific to Flutter packages.
  44. flutter:
  45. # The following line ensures that the Material Icons font is
  46. # included with your application, so that you can use the icons in
  47. # the material Icons class.
  48. uses-material-design: true
  49. # To add assets to your application, add an assets section, like this:
  50. # assets:
  51. # - images/a_dot_burr.jpeg
  52. # - images/a_dot_ham.jpeg
  53. # An image asset can refer to one or more resolution-specific "variants", see
  54. # https://flutter.dev/to/resolution-aware-images
  55. # For details regarding adding assets from package dependencies, see
  56. # https://flutter.dev/to/asset-from-package
  57. # To add custom fonts to your application, add a fonts section here,
  58. # in this "flutter" section. Each entry in this list should have a
  59. # "family" key with the font family name, and a "fonts" key with a
  60. # list giving the asset and other descriptors for the font. For
  61. # example:
  62. # fonts:
  63. # - family: Schyler
  64. # fonts:
  65. # - asset: fonts/Schyler-Regular.ttf
  66. # - asset: fonts/Schyler-Italic.ttf
  67. # style: italic
  68. # - family: Trajan Pro
  69. # fonts:
  70. # - asset: fonts/TrajanPro.ttf
  71. # - asset: fonts/TrajanPro_Bold.ttf
  72. # weight: 700
  73. #
  74. # For details regarding fonts from package dependencies,
  75. # see https://flutter.dev/to/font-from-package