Tuesday, April 9, 2024

Packages Need to Build a Simple E-Commerce Flutter App

Hey dear readers, welcome back on 1GB Developer plateform. Now we are going to explore packages which really help in building a ecommerce website using flutter technology.

1. flutter_otp_text_field:


This package provide interface for otp verification. You can adjust the count of digit like 5 or 6 or more than it. when someone pass the digit after filling all boxes it will return string of digit. You can install from here :




2. flutter_rating_bar



This package provide interface for showing start icon. You can adjust the count of start like 5 or 6 or more than it. Also you can prefered to recieve half star rating. You can install from here :





3. flutter_svg


This package render image.svg file simelessely on flutter screen because sometime default image widget and provider does not work properly that why we use flutter_svg.


4. flutter_widget_from_html:


This package allow to render html template on flutter screen. For example if you are geting html codes from backend then you can use this to render that html code.


5. gap:


This package automatic consider width and height according to parent widget you have to pass only numerical value like below:

Column(
children:[
Gap(10)
]
)

in this case Gap(10) is equavalent to Sizedbox(height:10)

6. get:


This package will manage state of application and provide contextless routing. This package work on based on variable reactiveness.
If we declare any variable reactive then particular UI part will be update when value of that variable will changes.


7. get_storage:



this package is similar to shared_preferences but you can read and write without specific type, I mean to say you can only put value in box.write(value) either it is bool, string or int it will save it in local storage.


8. google_fonts:


google_fonts package provide all fonts which is available on this website : click here

9. http:


http package is like axios which is use in javascript framwork. click here


10. image_picker:


This package allow several method to pick image and videos from device. for this package you have to use user-permission in your androidMenifest.xml file.


<uses-feature
        android:name="android.hardware.camera"
        android:required="false" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
    <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
    <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />

    <!-- Permissions options for the `camera` group -->
    <uses-permission android:name="android.permission.CAMERA"/>


If you want any type of package comment or message me.
Happy flutter 😃

No comments:

Post a Comment

💘 Constructors & Destructors in C++ – Jab GF-BF Ke Life Me Entry Aur Breakup Hota 💔🥹

Constructors & Destructors in C++ – GF-BF Format 💡 "Constructor tab call hota jab relationship start hoyi ...