Questions tagged [pub.dev]

58 questions
0
votes
1 answer

Unable to sign into https://pub.flutter-io.cn for authentication

Unable to sign into 'https://pub.flutter-io.cn'. The user clicks on 'Sign in' don't register. Note, I am in China and can sign into pub.dev with a VPN no problem. But in order to publish a package I am asked to sign in to…
Kdon
  • 892
  • 6
  • 19
0
votes
1 answer

`WebP` tools is not found while running `pana` tool against dart package

While I was running pana to analyze a Dart package, an error stating that webpinfo, cwebp, and gif2webp were not found: INFO Running `webpinfo C:\Users\username\AppData\Local\Temp\pana_7ed394ff\.\doc/assets/animated_example.webp`... 'webpinfo'…
Moaz El-sawaf
  • 2,306
  • 1
  • 16
  • 33
0
votes
0 answers

How to use InteractiveViewer with CropImage

How to use InteractiveViewer with CropImage i want to fixed grid cropImage and if i want to Crop need to drag and move Image at behind InteractiveViewer( minScale: 0.1, maxScale: 3, …
Preemoz
  • 3
  • 2
0
votes
0 answers

AM / PM flutter datetime picker

I want to add another bar that has option AM PM. How do I do this? I am using the https://pub.dev/packages/flutter_datetime_picker dependency. This is my Custom Picker Class. class CustomPicker extends CommonPickerModel { String digits(int value,…
0
votes
0 answers

The js file is louded before dart file and I get error not found in js package flutter

My code by using js Package from flutter : @JS() library callable_function; import 'package:js/js.dart'; import 'package:flutter/material.dart'; @JS('someData') external set _functionName(void Function() f); ...... void…
0
votes
1 answer

how to pass asset image from app to a package in flutter?

I'm trying to create a package that contains some custom widgets. the plan is ill import this package and ill just start using those widgets in my project. something like a UI component library. for this, in a widget, I need to pass an image file to…
Safiul islam
  • 95
  • 1
  • 9
0
votes
0 answers

The flutter tool cannot access the file or directory. import window project in mac

I create a flutter project on windows, Now I want to do some changes but i have only macbook m1. I import project in mac and try to run it. I am getting this error. What is the reason? How to solve this issue? Full error is: Exception: The flutter…
Muhammad Zain
  • 11
  • 1
  • 2
0
votes
3 answers

Problem of initialization of values in Flutter

I'm trying to select a value in a dropdown menu and transfer that value to the dropdown menu title when it closes, but an error message appears when I try to do this, but the value does appear in the dropdown menu title: Unhandled Exception: A…
Corentin
  • 21
  • 2
0
votes
0 answers

centred resizable window with flutter

i'm trying to make a widget like the one availible in the most QR scanning apps like in this image having the resizable square trensparent and we can click through it,and alwayes entoured with a dark color with opacity ,the dark color should occupe…
Ydev
  • 28
  • 7
0
votes
1 answer

Flag for UK countries give error in Flutter Flag package

I'm using Flutter Flag package to show countries flags. When trying to specify for England, Wales, N-Ireland or Scotland flag, it returns the replacement flag. Flag.fromString('gb-eng', height: 18, width: 18, …
dev.bojack
  • 753
  • 5
  • 9
0
votes
2 answers

Is code obfuscation possible in a Flutter package (released in pub.dev)

I want to know if code obfuscation is possible as I have some logics which I want to hide when we re release our SDK in pub.dev I could not find a way to do it. I refered the documentation.
end111
  • 53
  • 2
  • 8
0
votes
0 answers

How do i get the image path of selected images in a gridview in flutter?

I have a stateful widget called AddPhotosView that contains all the logic i am trying to achieve, i am using this package photo_manager to display images in the user's devices in a GridView.builder and i am trying to use image_cropper to be able to…
tesseract
  • 144
  • 1
  • 12
0
votes
0 answers

downloads_path_provider_28 ?

When I execute the fluent run command, I will be prompted for downloads_ path_ provider_ 28 has been deprecated. I want to know the updated version of the plug-in that can replace this plug-in.
0
votes
1 answer

Flutter : How to just enable 7 days from now when using date_picker_timeline

I am using date_picker_timeline library on pub.dev But I don't know how to make it just to enable the next 7 days from now. Please help me to solve this problem. Example I tried to add some code in this block but it's still not working
0
votes
1 answer

manually resizable and overlay square in the screen with flutter

hi I'm trying to make a widget like the one in this image"(green one) with flutter , the main function is being resizable and overlaying. is there any idea to achieve this ? thanks
Ydev
  • 28
  • 7