- Видео 67
- Просмотров 244 606
DevMensIT
Добавлен 24 сен 2008
We will share our knowledge to everyone through out this channel.
Our motive is to teach flutter with simple & easiest way.
Thank you.
The Dev Man Team
URL Music | Just_Audio - Flutter
Here you will learn how to fetch music from url using url method of just_audio package.
just_audio is a feature-rich audio player for Android, iOS, macOS, web, Linux and Windows.
------------------------------------------------------------------------------------------------------
Timestamps
00:00 URL Music Player Just Audio Package
01:40 Declaring object of AudioPlayer()
04:40 Music Player Slider UI
10:10 Bind Function for Audio Player
10:35 Set url to audio player
11:08 Player Function (play/pause)
14:05 Function to convert Duration to String
------------------------------------------------------------------------------------------------------
Just_Audio Package : pub.dev/packages/just_audio
API R...
just_audio is a feature-rich audio player for Android, iOS, macOS, web, Linux and Windows.
------------------------------------------------------------------------------------------------------
Timestamps
00:00 URL Music Player Just Audio Package
01:40 Declaring object of AudioPlayer()
04:40 Music Player Slider UI
10:10 Bind Function for Audio Player
10:35 Set url to audio player
11:08 Player Function (play/pause)
14:05 Function to convert Duration to String
------------------------------------------------------------------------------------------------------
Just_Audio Package : pub.dev/packages/just_audio
API R...
Просмотров: 791
Видео
Local Music | Just_Audio - Flutter
Просмотров 6902 года назад
Here you will learn how to fetch storage music and play like a player From the local storage or external storage. just_audio is a feature-rich audio player for Android, iOS, macOS, web, Linux and Windows. Timestamps 00:00 Local Music Player Just Audio Package 03:20 Declaring object of AudioPlayer() 04:10 Create function for fetch list of songs 04:55 Add Permission_Handler Package 05:25 Adding P...
Asset Music | Just_Audio - Flutter
Просмотров 1,6 тыс.2 года назад
Here you will learn how to set music to audio player and play from the assets folder from the application. just_audio is a feature-rich audio player for Android, iOS, macOS, web, Linux and Windows. Timestamps 00:00 Asset Music | Just Audio Package 04:35 Import Package Just_Audio 05:05 Declaring object of AudioPlayer() 06:55 How to Create assets folder and put inside music file 07:35 How to decl...
Date Range Picker - Flutter
Просмотров 2012 года назад
The Flutter Date Range Picker is a lightweight widget that allows users to easily select a single date, multiple dates, or a range of dates. It provides month, year, decade, and century views to quickly navigate to a desired date. It supports minimum, maximum, and disabled dates to restrict date selection. Timestamps 00:00 Date Range Picker - Flutter 05:30 Date Range Picker Dialog 09:25 Set Tex...
Date Picker - Flutter
Просмотров 1922 года назад
The returned Future resolves to the date selected by the user when the user confirms the dialog. If the user cancels the dialog, null is returned. When the date picker is first displayed, it will show the month of initialDate, with initialDate selected. The firstDate is the earliest allowable date. The lastDate is the latest allowable date. initialDate must either fall between these dates, or b...
Badges - Flutter Package
Просмотров 8822 года назад
A flutter package for creating badges. Badges can be used for an additional marker for any widget, e.g. show a number of items in a shopping cart , Show a number of notifications in list. Package Link : pub.dev/packages/badges Example : pub.dev/packages/badges/example For More Support : Comment down below For More Update : Subscribe my channel
Delete Data | Isar - Flutter
Просмотров 6012 года назад
Isar is Super Fast Cross Platform Database for Flutter Here you will learn how to delete record from isar database. Features 💙 Made for Flutter. Easy to use, no config, no boilerplate 🚀 Highly scalable The sky is the limit (pun intended) 🍭 Feature rich. Composite & multi-entry indexes, query modifiers, JSON support etc. ⏱ Asynchronous. Parallel query operations & multi-isolate support by defaul...
Update Data | Isar - Flutter
Просмотров 5622 года назад
Isar is Super Fast Cross Platform Database for Flutter Here you will learn how to update record into isar database. Features # 💙 Made for Flutter. Easy to use, no config, no boilerplate 🚀 Highly scalable The sky is the limit (pun intended) 🍭 Feature rich. Composite & multi-entry indexes, query modifiers, JSON support etc. ⏱ Asynchronous. Parallel query operations & multi-isolate support by defa...
Display Data | Isar - Flutter
Просмотров 7092 года назад
Isar is Super Fast Cross Platform Database for Flutter. Here you will learn how to Fetch Records from isar database. Features 💙 Made for Flutter. Easy to use, no config, no boilerplate 🚀 Highly scalable The sky is the limit (pun intended) 🍭 Feature rich. Composite & multi-entry indexes, query modifiers, JSON support etc. ⏱ Asynchronous. Parallel query operations & multi-isolate support by defau...
Insert Data | Isar - Flutter
Просмотров 1,2 тыс.2 года назад
Isar is Super Fast Cross Platform Database for Flutter Here you will learn how to insert record into isar database. Features # 💙 Made for Flutter. Easy to use, no config, no boilerplate 🚀 Highly scalable The sky is the limit (pun intended) 🍭 Feature rich. Composite & multi-entry indexes, query modifiers, JSON support etc. ⏱ Asynchronous. Parallel query operations & multi-isolate support by defa...
Update Record | Hive - Flutter
Просмотров 9182 года назад
Here you can learn how to update record from hive in your flutter application. Hive is a lightweight and blazing fast key-value database written in pure Dart Features • 🚀 Cross platform: mobile, desktop, browser • ⚡ Great performance (see benchmark) • ❤️ Simple, powerful, & intuitive API • 🔒 Strong encryption built in • 🎈 NO native dependencies • 🔋 Batteries included Hive : pub.dev/packages/hiv...
Delete Record | Hive - Flutter
Просмотров 1 тыс.2 года назад
Here you can learn how to delete record from hive in your flutter application. Hive is a lightweight and blazing fast key-value database written in pure Dart Features • 🚀 Cross platform: mobile, desktop, browser • ⚡ Great performance (see benchmark) • ❤️ Simple, powerful, & intuitive API • 🔒 Strong encryption built in • 🎈 NO native dependencies • 🔋 Batteries included Hive : pub.dev/packages/hiv...
Display Data | Hive - Flutter
Просмотров 4052 года назад
Here you can learn how to fetch data and display data to your flutter application. Hive is a lightweight and blazing fast key-value database written in pure Dart Features • 🚀 Cross platform: mobile, desktop, browser • ⚡ Great performance (see benchmark) • ❤️ Simple, powerful, & intuitive API • 🔒 Strong encryption built in • 🎈 NO native dependencies • 🔋 Batteries included Hive : pub.dev/packages...
Insert Data | Hive - Flutter
Просмотров 3492 года назад
Here you can learn how to insert data to hive in your flutter application. Hive is a lightweight and blazing fast key-value database written in pure Dart Features • 🚀 Cross platform: mobile, desktop, browser • ⚡ Great performance (see benchmark) • ❤️ Simple, powerful, & intuitive API • 🔒 Strong encryption built in • 🎈 NO native dependencies • 🔋 Batteries included Hive : pub.dev/packages/hive Hi...
Database Setup | Hive - Flutter
Просмотров 2842 года назад
Here You Can Learn how to setup hive to your flutter application. Hive is a lightweight and blazing fast key-value database written in pure Dart Features • 🚀 Cross platform: mobile, desktop, browser • ⚡ Great performance (see benchmark) • ❤️ Simple, powerful, & intuitive API • 🔒 Strong encryption built in • 🎈 NO native dependencies • 🔋 Batteries included Hive : pub.dev/packages/hive Hive Docume...
Delete Record/Data in SQLite Database - Flutter
Просмотров 5672 года назад
Delete Record/Data in SQLite Database - Flutter
Update Record/Data From SQLite Database - Flutter
Просмотров 1,1 тыс.2 года назад
Update Record/Data From SQLite Database - Flutter
Display Data From SQLite Database - Flutter
Просмотров 4,8 тыс.2 года назад
Display Data From SQLite Database - Flutter
Insert Record into SQLite Database - Flutter
Просмотров 1,9 тыс.2 года назад
Insert Record into SQLite Database - Flutter
Upload Image to Cloud Storage + Save URL in Firestore | Firebase - Flutter
Просмотров 6 тыс.2 года назад
Upload Image to Cloud Storage Save URL in Firestore | Firebase - Flutter
Multiple Image Upload to Cloud Storage | Firebase - Flutter
Просмотров 4,2 тыс.3 года назад
Multiple Image Upload to Cloud Storage | Firebase - Flutter
Image Upload to Cloud Storage | Firebase - Flutter
Просмотров 6073 года назад
Image Upload to Cloud Storage | Firebase - Flutter
Hi, Nice tutorial and useful, please may you share you MongoDdModel, please!
my API Not Work please support🙏
is there a way to display the images in the order they were selected from the gallery, in short there order should be retained
Selected images ?
@@DevMensIT the images we pick from the gallery
Yes you can show selected images
@@DevMensIT that I know , but I want to display them in the order they were selected from the gallery
But here in this case it's totally random
Thank you, Im a student of Flutter, and this tutorial helped me a lot. :)
useful 👍
anna u helped me from devils thanks
question, can i insert and store any media files such as mp4, collada,obj and svg?
For that you should use storage
Can you please quickly help me with searching results which contain a given substring? For example, I want to search all people with "er" in their name fields
Sorry for late reply. You can use contains with array in dart
how can i upload photo ... especially for the profile picture ,,, using mongodb ?
You can use storage for that. While uploading profile picture inside storage you will get path (or link of storage) and insert that string inside your database
@@DevMensIT can u please help me out with this one ,,, i didnt find any other tutorial videos on this ,,, and i dont have much idea ..its hard being begginer
You can read documentation on official mongodb sites
@@DevMensIT would u mind helping me with the video tutorial ?
@BidashGurung-qe7uk first do one thing try to upload into mongo storage.
Which background music it was?
is this secure? if someone get connection string app then all data will be leaked right?
If someone gets your connection sting then possible data can be leaked
Use a provider, a data source and and a repository dude. That's so bad.
You saved my life!
Thanks for removing my critical comment on your video directly 😉 very transparent.
C:\Users\web-02\AppData\Local\Pub\Cache\hosted\pub.dev\path_provider_android-2.2.1\android\src\main\java\io\flutter\plugins\pathprovider\Messages.java:10: error: cannot find symbol import androidx.annotation.NonNull;
Check permissions
In set state what are you do in that section
For update UI.
Do I need to create a new user each time a user wants to access it ? If so can I automate it ? Using the password and username the user is already logged in the app with
Thanks , This is the best video and what is your theme?
man idk but you know the meme says when you need step by step tutorial and their is always that youtuber with small like and subscriber bro you are that for me big thanks
finally
Im getting error at import 'package:mongo_dart/mongo_dart.dart'..
Have your important package ?
do u have the code source?
Sorry we don't keep codes
when i do update data i get "Unhandled Exception: MongoDB ConnectionException: connection closed: The socket connection has been reset by peer." and i see "No data found" screen
Check your setting of database. Allow to all ip
where is it@@DevMensIT
how to allow all ip
From mongodb site settings
can you give us this projects source code
Sorry we don't keep the source code.
Getting error _map<string,dynamic > is not sub type of string
You are getting map response not string
@@DevMensIT so how to fix actually i am beginner
Share your code
here import 'dart:convert'; import 'package:mongo_dart/mongo_dart.dart'; MongoDataModel mongoDataModelFromJson(String str) => MongoDataModel.fromJson(json.decode(str)); String mongoDataModelToJson(MongoDataModel data) => json.encode(data.toJson()); class MongoDataModel { ObjectId id; String name; int price; String description; String color; String image; MongoDataModel({ required this.id, required this.name, required this.price, required this.description, required this.color, required this.image, }); factory MongoDataModel.fromJson(Map<String, dynamic> json) => MongoDataModel( id: json["_id"], name: json["name"], description: json["description"], price: json["price"], color: json["color"], image: json["image"]); Map<String, dynamic> toJson() => { "_id": id, "name": name, "price": price, "description": description, "color": color, "image": image }; } @@DevMensIT
That's model class.
really recommended 100% sure after 24 hours later i find the solution
Thank you soo much i have been trying this for a week
kosomak ar3a
Probably the best flutter code channel
becoz of your video i got great help bro....very nice video. thank you
hello sir, thanks for these videos they are very good i have a request can u make video on login page of the app using mongodb and flutter where user insert its custom login id password and the app verifies the details from the mongodb and then user can login.......... help me sir
How to connect flutter application with mongodb local host server
Using localhost string
its great.. too much helpful.. I was trying to do this from 3 months but this is my final solution thanks alot❤❤
Hi, can you help please how i can display the collection that have others collection. For example user have name and sons where son is other collection. i create model for son and user, but when i parse model i got error. with one collection is ok
Father {son1,son2,son3} like this ?
@@DevMensIT father {name : "name", sons: [ oid : ObjectID]}
@@junovevo4961 okay so what's the issue here ?
@@DevMensIT for example i have two models son with id and name, and father with id name and sons. When i try parse data about father i got error that null dosnt type int id. Because i got map in the place where sons
@@junovevo4961 goto about the channels there is telegram link join and ask there so you can share photos.
Hi, could you talk please how we can connect to database without named constructor create like db = Db(url); db.open(); In general do not create a new database, but use an existing one or maybe we can use localy mongo db without cloud mongo, but the main problem with connection
You can connect to the local mongodb also. Just you have to put a connection string with the locals.
@@DevMensIT Please can you write code how i can connect to already existing db by tutorial viedo. here you create db, but how we can open this db
@@junovevo4961 check insert into mongodb.
@@DevMensIT i check, but when we run app we recreate db and we lost data
@@junovevo4961 in local ?
Thank you, ❤
Hi, thank you very much for the tutorial, it helped me a lot; I just had a question, is there any way to keep the connection to MongoDB? At first, I can connect to the server without any problem, but after a little more than a minute of inactivity in the app, the app automatically disconnects from MongoDB and does not display the information. Is there a way to avoid these disconnections due to inactivity?
From which side Mongodb side or from frontend side ?
@@DevMensIT I'm not sure if I should have done any additional configuration in MongoDB, but I think it's more related to the app itself. Currently I shared the apk with other people and it was when I noticed that when users turn off their screen or leave the cell phone in the background, the connection to MongoDB disappears and it does not show the data that the app normally shows when it is started. (I hope I'm not sending this message too many times, every time I send them they disappear)
@@JZacMel are using stream builder?
@@DevMensIT No, I don't. I'm just using Future Builders
@@JZacMel then are you saying when after open screen lock data is disappeared?
Thanks brother .🙏
VERY BAD EXPIRENCE
Exception has occurred. NoSuchMethodError (NoSuchMethodError: The method 'create' was called on null. Receiver: null Tried calling: create("mongodb+srv:// demo_user: 7qfhy3iMWDTCWztV@cluster0.bbthzoz.myDataBase?retryWrites=true&w=majority")) bro how to resolve this error
Share your code
please, can you give the lib file..
hey bro, app is running and working fine and fetching data from atlas while in compile mode but after taking Apk of that app, data is not fetching from atlas. I didn't do any changes or modifications. .It displays blank page. How to fix it Hope you answer. @DevMensIT
Have you added internet permission?
@@DevMensIT no
@@DevMensIT now it worked after adding net permission. Thank you soo much sir
If Android phone then you should add internet permission inside Android manifest
finally found a working flutter api rest login thank you
connection is breaking while running application. This is happening ofently. My connection string is correct like you did. But error occuring like if it worked yesterday, today not working and repeating same. Also ui connect page of a mongodb atlas changed and there is no option to choose connect string for flutter. they categorised connection string for every platform but not for flutter. Hope you help it. The error i am getting: "Unhandled Exception: MongoDB ConnectionException: Socket error: SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104), address = ac-kgibzcj-shard-00-00.fox17zy.mongodb.$ net, port = 36318"
Have you added an IP address in your mongodb setup database side?
@@DevMensIT yes I already added my ip address
@@mueesabdulrahiman5308 make it open for all connections
@@DevMensIT now it worked. Thank u. is it good making open ip address. One more thing how to do authenticate end users with flutter and atlas with sign up and sign in securely.
@@DevMensIT now newly updated ui of atlas there is no connect string for flutter. They seperately given connect string every other framework but not for flutter.
Source code
10:45 when i wrote FirebaseDatabase.instance.reference(); it's doesn't work and it show a line across the word (reference). Please help me with that
Have you added a package?
@@DevMensIT Yes i did add the firebase database package.
Then it should work Important package of firebase manually on your dart file
@@DevMensIT ok thanks I'll add the packages manually. ❤️
How did you play without using the music file which is in the totalTime variable?
Nice video. But to be more useful, please make a new video about how to loading from json or dart list of music which has all files stored in assets folder. Then, loop a list of all music as clickable on homepage. Every list item should have id, image, song title and etc. When one of the list item is clicked, it should begin playing. When it ends, the next audio should play according to the ID. I mean if it plays song with ID 5 and ends, then the next song on the List ID which is 6 should play. That's all. Also, we should be able to play, pause, stop, seek with slider, next, prev.
Nice video, can you do a video about doing a searchdelegate for data displayed from MongoDb? Please in this case i find it really difficult(on flutter)
Better use search only with textfield
muy buen material. genial!!