#7 - All you need to know about Dart Packages and the Pub Package Manager

  Рет қаралды 9,345

Flutterly

Flutterly

Күн бұрын

Hi there!
In this video I'll show you a complete explanation on Dart Packages, while exploring all the properties of pubpsec.yaml file, as well as the pub package manager.
All animations were done in VideoScribe, you can try it by clicking my affiliate link --- www.awin1.com/...
You can contact me directly here:
Join my Discord Server --- / discord
Twitter --- / letsgetwckd
Instagram --- / letsgetwckd
Also, if you want to support me furthermore you can become an KZbin Member, donate or buy my courses on Udemy, using the following links:
Become an Official KZbin Member! ---- / flutterly
Buy my Udemy Courses! ---- www.udemy.com/...
Support me on Revolut! ---- revolut.me/let...
Buy me a Ko-fi! --- ko-fi.com/wckdyt
Donate me on Paypal! --- www.paypal.me/...
Support me on Patreon! --- / wckdyt
Dart - from Novice to Expert Source Code --- github.com/The...

Пікірлер: 33
@Flutterly
@Flutterly 3 жыл бұрын
My Complete Dart Course is now live on Udemy! Go get it while it's hot! Oh, and as a gift to my community, here's a limited-time coupon (LETSGETWCKD) helping you get it with as little as 9.99$. It's a steal for the amount of work I put in. www.udemy.com/course/dart-from-novice-to-expert/?referralCode=EC9CB6CC14FFA62C901B
@sharbelokzan9673
@sharbelokzan9673 3 жыл бұрын
This is perfect for a flutter developers who want to up-level thier dart game 😍 In fact, a lot of flutter developers use most of these mentioned dart skills without proper understanding of what they actually mean, Thank you so much and please keep going
@Flutterly
@Flutterly 3 жыл бұрын
Thank you so much! I really appreciate your feedback! ✨
@arnauduquenoy75
@arnauduquenoy75 3 жыл бұрын
Super clear Dart Doctor :) superb as usual 👍
@Flutterly
@Flutterly 3 жыл бұрын
Thank you! 🌟
@DARKR2ID
@DARKR2ID 10 ай бұрын
Your videos opens my mind to optimize my applications
@AlanTuringWannabe
@AlanTuringWannabe 2 жыл бұрын
This was very thorough and well done. Thank you.
@ajaykotiyal427
@ajaykotiyal427 Жыл бұрын
So Good Explanation. thanks
@masterfabio5
@masterfabio5 2 жыл бұрын
Hi Flutterly, your video is really awesome, probably the best tutorial out there, but I have a question. In 15:48, you are importing the src folder, which contains the implementation for all the used functions. Why aren't you importing the console_full_project.dart file, which contains the export for that functions? so instead of: import 'package:console_full_project/src/calculate.dart'; Why don't you just take advantage of your current package structure and do: import 'package:console_full_project/console_full_project.dart' as calculate; Thank you :)
@leelaitw
@leelaitw 3 жыл бұрын
Thanks for your sharing!!!
@Flutterly
@Flutterly 3 жыл бұрын
My pleasure!!
@kevinkkirimii
@kevinkkirimii Жыл бұрын
Interesting approach by dart on package management. Its quite cumbersome compared to java and go.
@huylygia5604
@huylygia5604 3 жыл бұрын
nice vid, thanks for your sharing
@Flutterly
@Flutterly 3 жыл бұрын
Thank you too
@earthrelated
@earthrelated 2 жыл бұрын
Esti un maestru!
@MajedSalmaoun
@MajedSalmaoun Жыл бұрын
your are a legend
@rodrigoa.6727
@rodrigoa.6727 Жыл бұрын
I tried to run the command "time" in PowerShell terminal inside Vscode but didn't recognize . What could it be? Do I need to install something in Vscode? Thanks
@biplabdutta
@biplabdutta 3 жыл бұрын
it might not be relevant to ask this question considering this video.. But I could not figure out the differences between initializing instance variables in the initializer list vs. doing the same inside constructor. Can you help me with that?
@Flutterly
@Flutterly 3 жыл бұрын
I don't quite understand your question, can you provide an example?
@biplabdutta
@biplabdutta 3 жыл бұрын
@@Flutterly The difference between these two codes.. and when what to use Code 1: class Student { final String name; final int age; Student(): name = 'Biplab', age = 21; } void main() { final obj = Student(); print(obj.name); } Code 2: class Student { final String name; final int age; Student(this.name, this.age); } void main() { final obj = Student('Biplab', 22); print(obj.name); } Thanks again!!
@Flutterly
@Flutterly 3 жыл бұрын
It's the same exact thing, in code 1, you'll implicitly set them to some values, and when you instantiate the class, they will be set to that value and can't be changed during the execution, in code 2, you have the ability to instantiate the Student object with your preferred fields, but they also won't be able to change during execution since they're also final.
@biplabdutta
@biplabdutta 3 жыл бұрын
Ahhhh okayyy then.. thank you again!
@kasandrop
@kasandrop 3 жыл бұрын
@@biplabdutta final fields can not be instantiated inside constructor body. example below will not work: Code 3: class Student { final String name; final int age; Student(){ name='Biplab'; age=22; } } Because you asked about the differences between initializing instance variables in the initializer list vs. doing the same inside constructor. Your code number 2 is not the example of the instantiation fields inside constructor body but syntactic sugar for setting fields. so case 1 and case 2 is the same.
@markrazielfrank9422
@markrazielfrank9422 3 жыл бұрын
I f seem to have failed to link up the consolefuldart file with the calculator.. Also, there is no option for me to import the library package as you did at 15:14, please help.. any feedback from you or someone else would be greatly appreciated...
@Osmanity
@Osmanity 3 жыл бұрын
I think we got the same problem, i am working on how to fix that, here the message I get: Publishable packages can't have path dependencies. Try adding a 'publish_to: none' entry to mark the package as not for publishing or remove the path dependency.
@markrazielfrank9422
@markrazielfrank9422 3 жыл бұрын
@@Osmanity thanks!
@mazenalsakkaf
@mazenalsakkaf 3 жыл бұрын
@@Osmanity hi, have you fixed it.?
@fedibaklouti3239
@fedibaklouti3239 6 ай бұрын
the pedantic dependency is replaced by the lints: ^3.0.0 so i always have a problem with this!
@moviesflix7082
@moviesflix7082 6 ай бұрын
bro were you having the problem with importing packages to calculate.dart which is inside lib->src
@imankamali5799
@imankamali5799 3 жыл бұрын
nice
@Flutterly
@Flutterly 3 жыл бұрын
Thank you, iman!
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 31 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 8 МЛН
Зу-зу Күлпаш 2. Бригадир.
43:03
ASTANATV Movie
Рет қаралды 729 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 63 М.
Top 16 Dart Tips and Tricks Every Flutter Developer Should Know
11:44
Andrea Bizzotto
Рет қаралды 59 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН