Flutter Navigation with Provider || Clock App (Episode-3)

  Рет қаралды 20,830

CodeX

CodeX

Күн бұрын

Пікірлер: 53
@CodeXdev
@CodeXdev 4 жыл бұрын
Hope you guys are liking my new intro part, any feedback is appreciated 😍
@vidhanthbafna8898
@vidhanthbafna8898 4 жыл бұрын
Yes an animation tutorial will be great!
@shakthi1811
@shakthi1811 2 жыл бұрын
please help!! 10:30 The argument type 'FlatButton Function(BuildContext, MenuInfo, Widget)' can't be assigned to the parameter type 'Widget Function(BuildContext, MenuInfo, Widget?) I am getting this error after doing that is mentioned at 10:30 I really love this app, as a beginner to flutter, i can understand the tutorial.
@mmkamal
@mmkamal 4 жыл бұрын
Before watching all 3 videos: I thought now I know 10% on flutter
@CodeXdev
@CodeXdev 4 жыл бұрын
Thank you @Maaz for writing your feedback.. I wish you great success 👍
@rvsme
@rvsme 2 жыл бұрын
Always grow knowledge about flutter thnx Codex
@CodeXdev
@CodeXdev 2 жыл бұрын
My pleasure
@amanansari7721
@amanansari7721 3 жыл бұрын
At 11:25 Don't make the new instance of provider (menuInfo) and use the instance which is coming from Consumer builder (value).
@sankethb.k642
@sankethb.k642 3 жыл бұрын
Yes, since Consumer always gives us the updated value of menuInfo, there is no need to again get it from Provider.
@AbdullahHattab
@AbdullahHattab 2 жыл бұрын
11:00 won't work for null safety. will you update the code please
@CodeXdev
@CodeXdev 2 жыл бұрын
Clock app series is not compatible with NULL safety as it was created before NULL safety came. Sorry, but no plans to update in near future.
@sisCAC
@sisCAC 4 жыл бұрын
Thanks bro!! Please, do more videos like these!! Very good material!!
@mmkamal
@mmkamal 4 жыл бұрын
*MIND BLOWN*
@wasimkabir4398
@wasimkabir4398 4 жыл бұрын
Please make the animation tutorial also
@jabinaansari1447
@jabinaansari1447 4 жыл бұрын
Yes, we'll love to watch animation tutorial.
@amarmaharjan464
@amarmaharjan464 3 жыл бұрын
Well Explained
@sujalmanandhar8011
@sujalmanandhar8011 4 жыл бұрын
If I try to NAVIGATE to another screen from inside the Consumer, then I get error message: This Overlay widget cannot be marked as needing to build because the framework is already in the process of building widgets... How can this be solved?
@samsurya283
@samsurya283 4 жыл бұрын
Yes we love animation tutorial from u brother 😍😍
@mohitkoley7760
@mohitkoley7760 4 жыл бұрын
bhaiya main.dart main 4:24 -4:49 vale code m error aa rha hai
@CodeXdev
@CodeXdev 4 жыл бұрын
What is the error you are getting?
@mohitkoley7760
@mohitkoley7760 4 жыл бұрын
@@CodeXdev error: The argument type 'String' can't be assigned to the parameter type 'MenuInfo'. (argument_type_not_assignable at [clock_app] lib\homepage.dart:32)
@mmkamal
@mmkamal 4 жыл бұрын
Animaaaaaaattttiiioooonnnnnnnnnn
@Copycopy-nb3li
@Copycopy-nb3li 7 ай бұрын
bro in the new version of flutter the Float button was not working instard of float button tell me the alternative way buttons
@CodeXdev
@CodeXdev 7 ай бұрын
I have used FlatButton in this tutorial, you can simply use Material Button as an alternative.
@anandmagar6132
@anandmagar6132 4 жыл бұрын
love from nepal 🇳🇵
@MohaMed-AdeL1
@MohaMed-AdeL1 3 жыл бұрын
what is the name of this imulator u using
@CodeXdev
@CodeXdev 3 жыл бұрын
iPhone simulator
@differentvideos5018
@differentvideos5018 Жыл бұрын
Bahi provider Mai issue AA Raha hai implement NAHI ho Raha ya?
@johnmungandi4413
@johnmungandi4413 2 жыл бұрын
What is the name of your used vscode theme
@CodeXdev
@CodeXdev 2 жыл бұрын
Dark+
@pshreyaan
@pshreyaan 3 жыл бұрын
hey data.dart is not getting recognised when importing why ??
@BlenBete
@BlenBete Жыл бұрын
the consumer part is not working for me
@bharathsharma2874
@bharathsharma2874 4 жыл бұрын
can yo please release the alarm tutorial iam searching a lot for a proper alarm project in flutter.
@mechtarin
@mechtarin 4 жыл бұрын
okay I learn these stuff from you, but I want to know how did you learn these, they look complicated give me info I need that
@guillermosantos7224
@guillermosantos7224 4 жыл бұрын
Thank you so much for these videos
@CodeXdev
@CodeXdev 4 жыл бұрын
Glad you like them!
@ta11p00
@ta11p00 4 жыл бұрын
Shows everything, and yet explains very little, I know these videos are great, but you need to pause and include some slides to explain how things work together, in order to take this knowledge you freely give and use it, a couple of moments of explanation (especially around providers and consumers) would be invaluable. Peace and love
@CodeXdev
@CodeXdev 4 жыл бұрын
thank you for feedback :)
@syedafatima2889
@syedafatima2889 3 жыл бұрын
can you help me i can not understand why we pass there MenuType.clock in create : home:ChangeNotifierProvider( create: (context)=>MenuInfo(MenuType.clock), child: HomePage()), );
@auliasabril1899
@auliasabril1899 4 жыл бұрын
thank you very much
@juandavidmenesesgaleano8970
@juandavidmenesesgaleano8970 3 жыл бұрын
type 'MenuInfo' is not a subtype of type 'String' The relevant error-causing widget was: Consumer how can i solve them?, thanks for your help
@anilshrestha9989
@anilshrestha9989 4 жыл бұрын
yes do page animation slider too :D
@sorarose8360
@sorarose8360 2 жыл бұрын
i mean that's cool and all but couldn't we just make a side nav bar ?
@CodeXdev
@CodeXdev 2 жыл бұрын
Its just design thing, you can create whatever you want. But SideNavDrawer is something not preferred now a days, people like to use bottom nav bar a lot.
@sorarose8360
@sorarose8360 2 жыл бұрын
@@CodeXdev thanks for uploading the vid and replying
@abdelrahmanhedia9483
@abdelrahmanhedia9483 4 жыл бұрын
Make animation bro
@angrykorean3323
@angrykorean3323 Жыл бұрын
where is god damn come form menuItems for map. you should check twice underbar or val name
@CodeXdev
@CodeXdev Жыл бұрын
@9:24 I have explained that I am using menuItem from data file, also I mentioned clearly @7:30 that we need to remove underscore ( _ ) from menuItem so that we can access outside.
@angrykorean3323
@angrykorean3323 Жыл бұрын
@@CodeXdev yea you right i skipped that my fault. thanks a lot a lot man anyway
@amarmaharjan464
@amarmaharjan464 3 жыл бұрын
I am getting this warning everytime E/flutter ( 5882): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: setState() called after dispose(): _ClockViewState#c83cc(lifecycle state: defunct, not mounted) E/flutter ( 5882): This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback. E/flutter ( 5882): The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree. E/flutter ( 5882): This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose(). E/flutter ( 5882): #0 State.setState. (package:flutter/src/widgets/framework.dart:1052:9) E/flutter ( 5882): #1 State.setState (package:flutter/src/widgets/framework.dart:1087:6) E/flutter ( 5882): #2 _ClockViewState.initState. (package:clockapp/views/clock_view.dart:19:7) E/flutter ( 5882): #3 _rootRunUnary (dart:async/zone.dart:1362:47) E/flutter ( 5882): #4 _CustomZone.runUnary (dart:async/zone.dart:1265:19) E/flutter ( 5882): #5 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170:7) E/flutter ( 5882): #6 _CustomZone.bindUnaryCallbackGuarded. (dart:async/zone.dart:1207:26) E/flutter ( 5882): #7 _rootRunUnary (dart:async/zone.dart:1370:13) E/flutter ( 5882): #8 _CustomZone.runUnary (dart:async/zone.dart:1265:19) E/flutter ( 5882): #9 _CustomZone.bindUnaryCallback. (dart:async/zone.dart:1191:26) E/flutter ( 5882): #10 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:395:19) E/flutter ( 5882): #11 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:426:5) E/flutter ( 5882): #12 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
@CodeXdev
@CodeXdev 3 жыл бұрын
May be that timer is still running
@amarmaharjan464
@amarmaharjan464 3 жыл бұрын
​@@CodeXdev Yeah it was I checked the code in GitHub and fixed the issue.
Flutter ListView Tutorial | Clock App (Episode-4)
16:10
CodeX
Рет қаралды 34 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Modern Bottom Nav Bar📱Flutter Tutorial ♡
8:15
Mitch Koko
Рет қаралды 184 М.
Inspired by MKBHD | Built with Flutter - Panels App
24:24
Flutter State Management - Routes and Provider
34:23
Johan Jurrius
Рет қаралды 10 М.
Rest API Call with http and Provider in Flutter
19:47
Jatinder Verma
Рет қаралды 16 М.
FLUTTER TUTORIAL: Bottom Navigation Bar + Provider
5:17
island coder876
Рет қаралды 5 М.