/ pubspec.yaml
pubspec.yaml
 1  name: calc
 2  description: "A new Flutter project."
 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  
 7  # The following defines the version and build number for your application.
 8  # A version number is three numbers separated by dots, like 1.2.43
 9  # followed by an optional build number separated by a +.
10  # Both the version and the builder number may be overridden in flutter
11  # build by specifying --build-name and --build-number, respectively.
12  # In Android, build-name is used as versionName while build-number used as versionCode.
13  # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
14  # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
15  # Read more about iOS versioning at
16  # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
17  # In Windows, build-name is used as the major, minor, and patch parts
18  # of the product and file versions while build-number is used as the build suffix.
19  version: 1.0.0+1
20  
21  environment:
22    sdk: '>=3.3.0-279.2.beta <4.0.0'
23  
24  # Dependencies specify other packages that your package needs in order to work.
25  # To automatically upgrade your package dependencies to the latest versions
26  # consider running `flutter pub upgrade --major-versions`. Alternatively,
27  # dependencies can be manually updated by changing the version numbers below to
28  # the latest version available on pub.dev. To see which dependencies have newer
29  # versions available, run `flutter pub outdated`.
30  dependencies:
31    flutter:
32      sdk: flutter
33  
34  
35    # The following adds the Cupertino Icons font to your application.
36    # Use with the CupertinoIcons class for iOS style icons.
37    cupertino_icons: ^1.0.6
38    math_expressions: ^2.4.0
39  
40  
41  dev_dependencies:
42    flutter_test:
43      sdk: flutter
44  
45    # The "flutter_lints" package below contains a set of recommended lints to
46    # encourage good coding practices. The lint set provided by the package is
47    # activated in the `analysis_options.yaml` file located at the root of your
48    # package. See that file for information about deactivating specific lint
49    # rules and activating additional ones.
50    flutter_lints: ^3.0.0
51  
52  # For information on the generic Dart part of this file, see the
53  # following page: https://dart.dev/tools/pub/pubspec
54  
55  # The following section is specific to Flutter packages.
56  flutter:
57  
58    # The following line ensures that the Material Icons font is
59    # included with your application, so that you can use the icons in
60    # the material Icons class.
61    uses-material-design: true
62  
63    # To add assets to your application, add an assets section, like this:
64    # assets:
65    #   - images/a_dot_burr.jpeg
66    #   - images/a_dot_ham.jpeg
67  
68    # An image asset can refer to one or more resolution-specific "variants", see
69    # https://flutter.dev/assets-and-images/#resolution-aware
70  
71    # For details regarding adding assets from package dependencies, see
72    # https://flutter.dev/assets-and-images/#from-packages
73  
74    # To add custom fonts to your application, add a fonts section here,
75    # in this "flutter" section. Each entry in this list should have a
76    # "family" key with the font family name, and a "fonts" key with a
77    # list giving the asset and other descriptors for the font. For
78    # example:
79    # fonts:
80    #   - family: Schyler
81    #     fonts:
82    #       - asset: fonts/Schyler-Regular.ttf
83    #       - asset: fonts/Schyler-Italic.ttf
84    #         style: italic
85    #   - family: Trajan Pro
86    #     fonts:
87    #       - asset: fonts/TrajanPro.ttf
88    #       - asset: fonts/TrajanPro_Bold.ttf
89    #         weight: 700
90    #
91    # For details regarding fonts from package dependencies,
92    # see https://flutter.dev/custom-fonts/#from-packages