×

    Request a Proposal

    Fill Out Our Form & We’ll be in Touch Shortly

    Type of Project



    Our Locations

    PH: +1-202-938-5932

    USA

    10630 Little Patuxent Pkwy,
    Suite 314-M7
    Columbia, MD 21044

    UK

    120 Bark Street
    6th & 7th Floor
    Bolton Lancashire, United Kingdom Bl12ax

    Australia

    443 Camp Rd, Broadmeadows
    VIC, Australia

    How to Initialize Image picker in Flutter ?

    How to Initialize Image picker in Flutter ?

    Solution : 

    • Older way to Initial the Image picker  _image = image as File? ;  (Older Logic )
    • Updated :  _image = File(image!.path);    (Updated Logic)

     

     

    • Close keyboard Dynamically (Unfocus Input Filed)

    • First declare as
      FocusNode focusNode = new FocusNode();
    • after that call Function of
      FocusNode.unfocus(); in the ontap(){}

     

    0
    0

    Leave a Reply

    Your email address will not be published. Required fields are marked *