KodPlanet
pubsec.yaml
version: 2.0.0
code: 5
environment:
sdk: “=2.1.0 <3.0.0”
module:
androidX: true
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
The following adds the Cupertino Icons font to your application.
Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: 0.1.2
google_maps_flutter: 0.5.27
google_map_location_picker: 3.2.2
mvc_pattern: 5.1.0
global_configuration: 1.5.0
http: 0.12.1
intl: 0.16.1
html: 0.14.0+3
shared_preferences: 0.5.7
flutter_html: 0.11.1
flutter_svg: 0.15.0
location: 3.0.2
dynamic_theme: 1.0.1
flutter_inappbrowser: 2.0.2
url_launcher: 5.4.5
firebase_messaging: 6.0.13
cached_network_image: 2.2.0
fluttertoast: 4.0.1
flutter_staggered_grid_view: 0.3.0
dev_dependencies:
flutter_test:
sdk: flutter
For information on the generic Dart part of this file, see the
following page: https://dart.dev/tools/pub/pubspec
The following section is specific to Flutter.
flutter:
The following line ensures that the Material Icons font is
included with your application, so that you can use the icons in
the material Icons class.
uses-material-design: true
To add assets to your application, add an assets section, like this:
assets:
- assets/cfg/
- assets/img/
An image asset can refer to one or more resolution-specific "variants", see
https://flutter.dev/assets-and-images/resolution-aware.
For details regarding adding assets from package dependencies, see
https://flutter.dev/assets-and-images/from-packages
To add custom fonts to your application, add a fonts section here,
in this "flutter" section. Each entry in this list should have a
"family" key with the font family name, and a "fonts" key with a
list giving the asset and other descriptors for the font. For
example:
fonts:
family: Poppins
fonts:
asset: assets/fonts/Poppins-Thin.ttf
weight: 100
- asset: assets/fonts/Poppins-ExtraLight.ttf
weight: 200
- asset: assets/fonts/Poppins-Light.ttf
weight: 300
- asset: assets/fonts/Poppins-Regular.ttf
weight: 400
- asset: assets/fonts/Poppins-Medium.ttf
weight: 500
- asset: assets/fonts/Poppins-SemiBold.ttf
weight: 600
- asset: assets/fonts/Poppins-Bold.ttf
weight: 700
- asset: assets/fonts/Poppins-ExtraBold.ttf
weight: 800
- asset: assets/fonts/Poppins-Black.ttf
weight: 900
- family: Trajan Pro
fonts:
- asset: assets/fonts/TrajanPro.ttf
- asset: assets/fonts/TrajanPro_Bold.ttf
weight: 700
For details regarding fonts from package dependencies,
see https://flutter.dev/custom-assets/fonts/from-packages
flutter_intl:
enabled: true