Тёмный
Runtime Snippets
Runtime Snippets
Runtime Snippets
Подписаться
Runtime Snippets is dedicated to deliver fast-paced coding content. We believe that education should be accessible to all, especially coding/programming related education.

Flutter Theming in 180 seconds
3:11
4 месяца назад
Комментарии
@runtimesnippets
@runtimesnippets 2 дня назад
You can now support my work by buying me a coffee: buymeacoffee.com/rawaha
@runtimesnippets
@runtimesnippets 2 дня назад
You can now support my work by buying me a coffee: buymeacoffee.com/rawaha
@gustavopriftis9290
@gustavopriftis9290 8 дней назад
Great video dude, i hope all the best for you!
@runtimesnippets
@runtimesnippets 8 дней назад
Hey!! Glad you liked it and thanks for supporting me
@gustavopriftis9290
@gustavopriftis9290 8 дней назад
@@runtimesnippets Shared with my coworkers, top grade content 👌 👏 🙌
@runtimesnippets
@runtimesnippets 8 дней назад
@@gustavopriftis9290 thanks for your support!
@runtimesnippets
@runtimesnippets 8 дней назад
@@gustavopriftis9290 if you need more content on a specific topic, let me know! :)
@runtimesnippets
@runtimesnippets 9 дней назад
How would you create this button? Let me know in the comments :)
@manishmg3994
@manishmg3994 13 дней назад
Awesome , you explain everything very well, keep it up
@runtimesnippets
@runtimesnippets 13 дней назад
I am glad you think that!😊
@manishmg3994
@manishmg3994 13 дней назад
@@runtimesnippets yes, keep it up
@runtimesnippets
@runtimesnippets 13 дней назад
@@manishmg3994 these comments keep me motivated. Thanks and stay tuned for more :)
@lucas.marianno
@lucas.marianno 18 дней назад
Great video again! Would you mind further explaining why loops in tests are a bad idea? Following your other video on TDD, I came up with the following test: ```dart test("return 'Fizz' for multiples of 3", () { // arrange const inputs = [3, 6, 9, 12, 33, 66, 99]; // act for (int input in inputs) { final result = solver.execute(input); // assert expect(result, 'Fizz'); } }); ``` Should I divide it into multiple tests for each input? Wouldn't that be a lot more verbose? What is the correct way of thoroughly testing a functionality? Thanks in advance, you got a new subscriber!
@runtimesnippets
@runtimesnippets 18 дней назад
1."Why are loops a bad idea in unit tests?" Because 1. loops go against readability and conciseness. 2. The flutter test suite will only give you one output per unit test. So let's say, if your unit test had 7 inputs and one of them was wrong, the entire test will fail. Which is not very descriptive, and doesn't provide you with the right feedback. We also won't be able to know on which iteration the expect method failed. We will have to debug this ourselves. 2. "Should I divide it into multiple tests for each input?" Absolutely! 3. "Wouldn't that be a lot more verbose?" Remember the rule from the TDD video: "Write specific test cases that make your code generic" Meaning: The more specific test cases you have, the more general your code will become in handling different inputs. So it doesn't matter the number of tests you have. One input = One output, and there should be a single test case for that. 4. "What is the correct way of thoroughly testing a functionality?" To thoroughly test a feature, you should identify different edge cases that will break the feature, and then test your code through those inputs. For example, in your method, maybe a multiple of 5 or a multiple of both 3 & 5, might break your feature, so I would test your code with those inputs as well. But be cautious, don't write test cases that keep on testing the same behavior. For example, writing a test case for 3, then 6, then 9, then 12 will keep testing the same behavior of the feature. Once a behavior has been verified, go for different inputs that will test some other part of the method, like 5 or maybe 15. Have any other questions? I would love to answer :)
@lucas.marianno
@lucas.marianno 18 дней назад
@@runtimesnippets Got it. Thank you! Cheers from 🇧🇷
@runtimesnippets
@runtimesnippets 18 дней назад
@@lucas.marianno you’re welcome!
@lucas.marianno
@lucas.marianno 18 дней назад
Great explanation! I'm glad I found this
@runtimesnippets
@runtimesnippets 18 дней назад
I am so glad you found this helpful! Please subscribe as more content is on the way!
@yeetidk285
@yeetidk285 20 дней назад
Hi! Here from reddit! Great job! I'm rooting for you
@runtimesnippets
@runtimesnippets 19 дней назад
Thanks a lot! It means a lot to me.
@fahadbaigios
@fahadbaigios 21 день назад
Great Video 😍
@runtimesnippets
@runtimesnippets 21 день назад
Glad you liked it!
@musawwirmaqsood
@musawwirmaqsood 21 день назад
@metacode4696
@metacode4696 Месяц назад
error Error (Xcode): /Users/programmer/.pub-cache/hosted/pub.dev/persistent_bottom_nav_bar-5.0.2/lib/neumorphic_package_by_serge_software/neumorphic_card.dart:57:57: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'. can you help me??
@asbahumais655
@asbahumais655 Месяц назад
Wonderful!
@runtimesnippets
@runtimesnippets Месяц назад
Glad you like it!
@HistoryBits95
@HistoryBits95 Месяц назад
Love it!!
@runtimesnippets
@runtimesnippets Месяц назад
Glad you like it
@abdulbari7246
@abdulbari7246 Месяц назад
already excited for the advanced version of unit testing😍
@runtimesnippets
@runtimesnippets Месяц назад
I am glad you liked it!
@runtimesnippets
@runtimesnippets Месяц назад
Working on the next video!
@TylerCodes
@TylerCodes Месяц назад
Hey, this was a really well put together video! Thanks!
@runtimesnippets
@runtimesnippets Месяц назад
Glad you liked it!
@faheemahmad3957
@faheemahmad3957 3 месяца назад
kindly improve zoom, also imprive the video description section, add code am repo
@runtimesnippets
@runtimesnippets 3 месяца назад
Thanks for the helpful suggestions! For the video zoom, yes, we are working on it. And for the code repo, if we give it out right now, then there is no point in coding along or following it. We will be giving it out once this tutorial is complete!
@laugedyret
@laugedyret 4 месяца назад
Thanks for a great video! I find that my tests work when I run them locally, but when I try to get my app approved in the Google Play Console, I can see from the short test videos that their robot can't find my fields for email and password. Have you experienced the same thing?
@runtimesnippets
@runtimesnippets 4 месяца назад
This requires a bit of debugging. For example, which device is the test emulated on? Run the tests on that device locally inside your flutter project and see if it gives the same error. Mostly if the device height is too small, or the content is overflowing, the robot won’t be able to detect those fields. These integration tests are different from the ones that Google runs. But the idea for debugging is the same. Hope it helps!
@laugedyret
@laugedyret 4 месяца назад
@@runtimesnippets Thank you!
@itauqeer_
@itauqeer_ 4 месяца назад
simply perfect..👍
@runtimesnippets
@runtimesnippets 4 месяца назад
Thanks a lot 😊
@fahadbaigios
@fahadbaigios 4 месяца назад
As a developer, I've faced challenges with theming in projects that have strong architectural support. However, this tutorial significantly aided me in building an app with well-structured theming. Thanks🥰
@HistoryBits95
@HistoryBits95 4 месяца назад
Step by step, even I can do it now if I spend 3 mins watching and 15 mins practicing 😅
@itauqeer_
@itauqeer_ 4 месяца назад
Awesome video. I’d like to watch more in-depth tutorials.
@SugionoGaming-ig6oj
@SugionoGaming-ig6oj 5 месяцев назад
please make tutorial marketplace mobile ui flutter
@runtimesnippets
@runtimesnippets 4 месяца назад
We will keep this in mind for future content!
@thabasumm1868
@thabasumm1868 6 месяцев назад
What if i have 2 files to execute after login? Can i do simply in one main method by calling the file names and without uninstalling the app after login?
@runtimesnippets
@runtimesnippets 6 месяцев назад
as I understand, you have two files with integration tests, you can both by running "flutter test integration_test" and it will run all the integration tests that are inside the integration_test directory
@carlosalbertobotinacarpio5650
@carlosalbertobotinacarpio5650 7 месяцев назад
awesome
@harisbashir2719
@harisbashir2719 9 месяцев назад
Nice tutorials .My suggestion is to also create videos on more complex topics .
@runtimesnippets
@runtimesnippets 9 месяцев назад
Thanks for the suggestion! Which topic would you like to see the tutorials for?
@harisbashir2719
@harisbashir2719 9 месяцев назад
​@@runtimesnippetslike isolates , architecture ,usage of design patterns ,unit, widget integration testing , usage of generics , channels etc .
@squidwardmoney6492
@squidwardmoney6492 10 месяцев назад
very nice, very nice
@runtimesnippets
@runtimesnippets 10 месяцев назад
Thankyou! If you like the content, please subscribe. It helps us stay motivated and keep pushing out new tutorials.
@AbdulBari-jh8lj
@AbdulBari-jh8lj 10 месяцев назад
Simple and to the point demonstration without any time waste, simple awesome. Would love to know if there is any way to achieve native UI communication like allowing notification/location permissions or connect to a WiFi network etc.
@ThePioussoul
@ThePioussoul 10 месяцев назад
Very educational and professional tutorial. I would like to have more
@MainInternetUser
@MainInternetUser 11 месяцев назад
Apple's worst nightmare 😂
@filmstore7503
@filmstore7503 Год назад
ap na
@filmstore7503
@filmstore7503 Год назад
ghalat link dal di
@filmstore7503
@filmstore7503 Год назад
bhai source code kaha ho
@runtimesnippets
@runtimesnippets Год назад
Hello, please see the source code: github.com/Coffiie/personal_projects/tree/develop/runtime_snippets/nft_marketplace_ui_sc
@codelover1426
@codelover1426 Год назад
full tutorial ....
@runtimesnippets
@runtimesnippets Год назад
Full Speed code video link is in the description and there is a link to its source code
@yunismaruf
@yunismaruf Год назад
Source code
@runtimesnippets
@runtimesnippets Год назад
Full Speed code video link is in the description and there is a link to its source code
@yunismaruf
@yunismaruf Год назад
​@@runtimesnippets thaks
@runtimesnippets
@runtimesnippets Год назад
Part 2: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0SXME_f9j70.html
@runtimesnippets
@runtimesnippets Год назад
Thankyou for 300 Subscribers <3 We're growing super fast!
@cakecherry8430
@cakecherry8430 Год назад
very nice
@vuongqtvn
@vuongqtvn Год назад
nice, thanks
@vanityof
@vanityof Год назад
thanks for video it helps beginners like me
@jamesb0nd007
@jamesb0nd007 2 года назад
Nice UI
@jamesb0nd007
@jamesb0nd007 2 года назад
Awesome
@runtimesnippets
@runtimesnippets 2 года назад
Hi! please subscribe if you like the content!
@jamesb0nd007
@jamesb0nd007 2 года назад
@@runtimesnippets Already Subscribed
@jamesb0nd007
@jamesb0nd007 2 года назад
Make a VN Clone in flutter please
@runtimesnippets
@runtimesnippets 2 года назад
Hey, what's a VN clone?
@runtimesnippets
@runtimesnippets 2 года назад
Thank you for 100 Subscribers <3
@user-bd2eo3sh6i
@user-bd2eo3sh6i 2 года назад
the headlinMedium & tilteMedium not found ????
@vishwa_randunu
@vishwa_randunu 2 года назад
Sir.... I installed flutter & java sdk 11 & I'm using android studio emulator.... I entered the "flutter run" command.... then showed "gradle task assebling....". This output showed big time & some times showing error messages (ex: java error 41). Please help me....
@runtimesnippets
@runtimesnippets 2 года назад
Hi there, make sure you follow all the steps correctly from docs.flutter.dev/get-started/install and do the correct settings according to your operating system.
@vishwa_randunu
@vishwa_randunu 2 года назад
But problem is same.... I tried two times following that steps....
@runtimesnippets
@runtimesnippets 2 года назад
@@vishwa_randunu Please follow along to these videos for proper installation: For windows: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z2ugnpCQuyw.html For mac: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-hL7pkX1Pfko.html
@vishwa_randunu
@vishwa_randunu 2 года назад
But I'm using linux distro
@runtimesnippets
@runtimesnippets 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VGs-y_kL_Eg.html Try this
@harisbashir2719
@harisbashir2719 2 года назад
Great MashAllah . I will try to create it on weekend InshAllah
@runtimesnippets
@runtimesnippets 2 года назад
Good luck!
@nimzix
@nimzix 2 года назад
Love you
@alphasnake5510
@alphasnake5510 2 года назад
Amazing timelapse keep improving 👏👏👏
@runtimesnippets
@runtimesnippets 2 года назад
Thanks!