name: ireserva description: iFox iReserva, venda de ingressos para pesqueiros, pousadas, eventos em sítios # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. publish_to: "none" # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 # followed by an optional build number separated by a +. # Both the version and the builder number may be overridden in flutter # build by specifying --build-name and --build-number, respectively. # In Android, build-name is used as versionName while build-number used as versionCode. # Read more about Android versioning at https://developer.android.com/studio/publish/versioning # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. # AQUI MUDA A VERSÃO DO APLICATIVO version: 11.0.0 environment: #sdk: '>=3.3.0 <4.0.0' sdk: ">=3.0.6 <4.0.0" # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions # consider running `flutter pub upgrade --major-versions`. Alternatively, # dependencies can be manually updated by changing the version numbers below to # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. dependencies: flutter: sdk: flutter # isto tem que ser assim, primeiro fluter_localizations e logo en seguida sdk:flutter, idioma é setado no main.dart 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: ^1.0.2 # criar icones automático flutter_launcher_icons: ^0.13.1 # para o splash screen video_player: ^2.7.0 # salvar dados locais shared_preferences: ^2.2.1 #animated switch animated_switch: ^0.0.2 # popup de alerta quickalert: ^1.0.2 # validador email email_validator: ^2.1.17 # fecha app flutter_exit_app: ^1.1.2 # reiniciar app restart_app: ^1.2.1 # serial device ID, no M54 é: 6526cb32e9ae5533 no A32: 225dec2e7992c2fe unique_identifier: ^0.3.0 # biometria local_auth: ^2.1.8 # http http: ^1.1.0 #loading spinner flutter_easyloading: ^3.0.5 # check internet connection connectivity_plus: ^5.0.2 # usado além de outras coisas, mostrar o snack para falta da internet get: ^4.6.6 #lottie lottie: ^2.6.0 #page transitions page_transition: ^2.1.0 #entrada formatada extended_masked_text: ^2.3.1 # primeira letra maiuscula basic_utils: ^5.6.1 # string mask usado para formatar ao abrir a tela usando os dados guardados string_mask: ^1.0.0 #várias mascaras para BR brasil_fields: ^1.14.1 # url launcher url_launcher: ^6.1.14 # pega versão package_info_plus: ^5.0.1 # formata data intl: ^0.18.1 # carousel carousel_slider: ^4.2.1 # path path: ^1.8.0 # rich text - formata texto na mesma string caracteres especiais entre palavras ex: https://pub.dev/packages/fast_rich_text/example fast_rich_text: ^0.0.1 # html viewer https://pub.dev/packages/flutter_widget_from_html/example flutter_widget_from_html: ^0.14.7 #google fonts google_fonts: ^6.1.0 #slidable listview flutter_slidable: ^3.0.1 # menu flutuante, que está na página do cadastro dos eventos floating_action_bubble: ^1.1.4 # date picker calendar_date_picker2: ^0.5.3 # radio buttons group: uso para alterar status da raia flutter_radio_button_group: ^0.0.4+5 # Qr / barcode reader qr_code_scanner: ^1.0.1 # entrada de pin, validar código SMS enviado pinput: ^3.0.1 # snackbar -= toast message top_snackbar_flutter: ^3.1.0 # para cache de imagens cached_network_image: ^3.3.1 flutter_cache_manager: ^3.3.1 # geolocator para obter as coordenadas para gravar no proprietario #************************************************************ # NAO ATUALIZAR ESSA VERSÃO, SENÃO VAI PEDIR NOVA VERSÃO DO KOTLIN E TUDO QUE ACHEI NÃO FUNCIONA #************************************************************ #geolocator: ^8.2.1 MANTER ESSA VERSÃO !!!!!! geolocator: ^8.2.1 #************************************************************ geocoding: ^2.1.1 # switch flutter_switch: ^0.3.2 # gráficos fl_chart: ^0.66.0 # mostrar QrCode qr_flutter: ^4.1.0 # GUID usei para gerar ID_TABPEDIDO na tela pagamento uuid: ^4.3.3 # mask_text_input_formatter: ^2.8.0 mask_text_input_formatter: ^2.8.0 # screenshot para fazer print e salvar na galeria e obter permissões screenshot: ^2.1.0 image_gallery_saver: ^2.0.3 permission_handler: ^11.2.1 # para executar background task checaAlertas workmanager: ^0.5.2 dev_dependencies: flutter_test: sdk: flutter # The "flutter_lints" package below contains a set of recommended lints to # encourage good coding practices. The lint set provided by the package is # activated in the `analysis_options.yaml` file located at the root of your # package. See that file for information about deactivating specific lint # rules and activating additional ones. flutter_lints: ^3.0.1 flutter_native_splash: ^2.3.2 # vi este video: https://www.youtube.com/watch?v=VR1wzCK5A-Y # pro splash precisa fazer isso tb In android go to app -> main -> res -> drawable -> launch_background.xml and leave it like this: # # # # # # # # # # atenção aos detalhes de setar e executar cmd no terminal flutter_native_splash: color: "#000000" # se quiser splash iniciar em preto #000000 em azul logo #2a7fff em branco #ffffff #android: false #ios: false # Android 12 handles the splash screen differently than previous versions. Please visit # https://developer.android.com/guide/topics/ui/splash-screen # Following are Android 12 specific parameter. android_12: # The image parameter sets the splash screen icon image. If this parameter is not specified, # the app's launcher icon will be used instead. # Please note that the splash screen will be clipped to a circle on the center of the screen. # App icon with an icon background: This should be 960×960 pixels, and fit within a circle # 640 pixels in diameter. # App icon without an icon background: This should be 1152×1152 pixels, and fit within a circle # 768 pixels in diameter. image: "assets/splash/logo_fundo_preto.png" # se quiser splash iniciar em branco logo_fundo_branco.png se em preto logo_fundo_preto.png em azul logo_fundo_azul.png # Splash screen background color. color: "#ffffff" # se quiser splash iniciar em preto #000000 em azul logo #2a7fff em branco #ffffff # App icon background color. icon_background_color: "#ffffff" # se quiser splash iniciar em preto #000000 em azul logo #2a7fff em branco #ffffff # depois de setado acima os valores, no terminal executar # flutter clean # flutter pub get # flutter pub run flutter_native_splash:create # fim do splash screen #geração de icones dos apps, executar:flutter clean, flutter pub get, flutter pub run flutter_launcher_icons flutter_launcher_icons: ^0.13.1 flutter_launcher_icons: android: "launcher_icon" ios: true remove_alpha_ios: true image_path: "assets/splash/logo_ireserva1152.png" min_sdk_android: 21 # android min sdk min:16, default 21 # 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 packages. 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/ - assets/icons/ - assets/splash/ - assets/login/ - assets/videos/ - assets/lotties/ - assets/images/ # 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: Schyler # fonts: # - asset: fonts/Schyler-Regular.ttf # - asset: fonts/Schyler-Italic.ttf # style: italic # - family: Trajan Pro # fonts: # - asset: fonts/TrajanPro.ttf # - asset: fonts/TrajanPro_Bold.ttf # weight: 700 # # For details regarding fonts from package dependencies, # see https://flutter.dev/custom-fonts/#from-packages