I appreciate your fine work on this and the Dart series. Thank you so much for taking the time to make them. Excellent work!
@smartherd6 жыл бұрын
Thanks alot.
@garethbeall36745 жыл бұрын
Thank you so much for taking the time to provide your expertise - I am really enjoying this series. It's a great introduction into the Flutter world!
@karthigadevi72274 жыл бұрын
Thank you sir......Completely new to app development.. ... Finally created simpleinterest calculator app.. More and more blessings to your humble work.. Pls keep going.. Thanks alot...
@chaitanyadeshpande72414 жыл бұрын
Just have to add else if (value != TextInputType.number) return 'Invalid Input'; this condition after if condition, and you are ready to go. Thank you Smartherd for these really helpful tutorials.
@oktavianirolly16849 ай бұрын
not correct,by use this double.tryParse(value)
@rajansingla55164 жыл бұрын
I have learnt a lot from your videos weather it's for android, java or now in flutter. Your teaching level is just incredible. Really enjoyed your all fruitful tutorials. God bless you. And can you please make a video like this but use phone text form field with using country codes. It would really be appreciable. Thanks a lot !! 😊
@TheChartwhisperers3 жыл бұрын
How to add separators in the textfield for better user experience??
@karthikgokul15746 жыл бұрын
Hello Sir, awaiting for a next session with database
@akashbhujbal62846 жыл бұрын
Waiting for our new season Kabhi kabhi lagta hai sir aap hi bhagwan hai....😂😘 Verry nice videos..... thank u🙏
@smartherd6 жыл бұрын
Soon
@sharmavikas2126 жыл бұрын
sir i could not find how to validate for number only while entering rate of interest ............ i see that we kept the keyboard to insert number only but i quickly found out that we can copy and paste text to the rate of interest field .......... and also we can insert negative number (i am working on android emulator ).
@domainadministrator27686 жыл бұрын
Hi Vikas, I have done it like this. child: TextFormField( controller: principalData, validator: (String value){ if (value.isEmpty || double.tryParse(value)==null) { return "Please enter a valid amount!"; } }, style: textStyle, keyboardType: TextInputType.number, decoration: InputDecoration( labelText: "Principal Amount", labelStyle: textStyle, hintText: "Enter Principal Amount", border: OutlineInputBorder( borderRadius: BorderRadius.circular(5.0), )), )),
@domainadministrator27686 жыл бұрын
@@peepee_panda779 api.dartlang.org/stable/2.1.0/dart-core/num/tryParse.html . Here is the documentation of tryParse.
@hanielbaez57235 жыл бұрын
@@peepee_panda779 Parse [source] as an double literal and return its value. Like [parse] expept that this function returns NULL fot invalid inputs instead of throwing. From: Dart.core
@rehandev78335 жыл бұрын
I know its old enough but surely whoever visits here can get an answer to the assignment. I also tried pasting negative numbers and words in the text fields and it successfully eliminates those value. So its completely safe to use this code. child: TextFormField( keyboardType: TextInputType.number, style: textStyle, // Theme Font controller: principalController, //Principal Controller validator: (String value){ if(value.isEmpty){ return 'Please enter principal amount'; } }, inputFormatters: [ WhitelistingTextInputFormatter.digitsOnly //These only allows the TextInputField to have integer values ], decoration: InputDecoration( labelText: 'Principal', labelStyle: textStyle, // Theme Font errorStyle: TextStyle( color: Colors.yellowAccent, fontSize: 15.0 ), hintText: 'Enter Principal e.g. 12000', border: OutlineInputBorder( borderRadius: BorderRadius.circular( 5.0))), )
@dhanshrigunjwate26174 жыл бұрын
Thank you so much sir , First time I created flutter application. Your video very nice 👌.
@vivekchavda41444 жыл бұрын
Hey @smartherd thanks for providing this course. I learned many new things in this course thank you so much.
@MsSplashIt6 жыл бұрын
I hope you will do a whole course on firebase/firestore (authentication, role based authorization, crud, storing images and retrieving etc.) really enjoying your courses on flutter and dart. thanks for taking the time to make them
@smartherd6 жыл бұрын
Sure firebase in queue
@lordeloalvaro6 жыл бұрын
When is it going to deploy the next video ? I'm waiting for database ... Do you have any schedule to videos?
@smartherd6 жыл бұрын
Actually I am in my hometown. Cannot record video till 25th October. You need to wait
@anomihekenneth95864 жыл бұрын
i keep getting this error The method 'validate' isn't defined for the class 'State'. that the validate() is not defined, how can i correct it
@sephaniakipkoech Жыл бұрын
Thank you for the clarity.
@gopi5275 жыл бұрын
i like your videos a lot .. so simple and so precise , hopefully i get access to your plural sight videos for free ;) , please do more videos on youtube on flutter
@sathwikpalakurty74964 жыл бұрын
i have small doubt where did we use event handlers?? can u please tell
@haquebe17014 жыл бұрын
And validation on the select drop down?
@floridosmarpepa89046 жыл бұрын
Relaly cool till now. But I changed the colors to yellow but then if i want to change the color of the border to the same color?
@ericjonas60446 жыл бұрын
Can't wait for the next episodes? To be honest, it's the 1st series which I complete all of them till now. Really good. Just a lil feedback, maybe you can minimize the word "perfect".. repeated quite a few times though :P
@smartherd6 жыл бұрын
Thanks buddy
@ahmedsiddiqui75284 жыл бұрын
Hello sir Can you plz tell me the validation of string when if mistakenly Someone enter number instead of alphabets so it should validate
@devyankshaw93654 жыл бұрын
Put the below code in your validator and change rate of interest according to your need: if(checkIsNumber(value)){ return 'Please enter valid rate of interest'; } Put the below code in _SIFormState class: bool checkIsNumber(String value) { try{ num.parse(value); } on FormatException{ return true; } return false; }
@abenezerleta61844 жыл бұрын
thank you bro, you make me to enjoy flutter
@MdYousuf-gw2dn4 жыл бұрын
how can i check that input is a number or not i mean i want to know about the assignment..please help someone {(
@chetanac855 жыл бұрын
hello sir,Got an error. info: This function has a return type of 'String', but doesn't end with a return statement. (missing_return at [smarheard_app] lib\main.dart:90) How I fix this error
@ArpitA57244 жыл бұрын
Yes same
@hp666ph4 жыл бұрын
When IF statement is TRUE you return a string, but when IF statement is FALSE you return nothing. And that's why this warning is shown, because there is a possible situation when you don't return anything. Simply after IF statement add 'else { return null }' and warning will be gone
@ArpitA57244 жыл бұрын
@@hp666ph already did that
@ArpitA57244 жыл бұрын
@@hp666ph then i used another example and implemented form validation easily
@chetanac854 жыл бұрын
thank you!!it works
@amitkumarsahoo82804 жыл бұрын
For validate the fields : if (value.isEmpty || double.tryParse(value) == null) { return 'Please provide Principal amount'; }
@chetantailor36203 жыл бұрын
will you please elaborate this //double.tryParse(value)==null use?
@chaitanyadeshpande55173 жыл бұрын
inputFormatters: [FilteringTextInputFormatter.allow(RegExp("[0-9]+"))] Use this
@refreshing_morning6 жыл бұрын
Sir, when will you upload another video? Can't wait for database series to be out.
@smartherd6 жыл бұрын
Soon
@meenubalakrishnan32135 жыл бұрын
hi sir,i am new to flutter could you please tell me the answer for the assignment?(how to write a validation condition to check for number not string?)
@anilkumara61415 жыл бұрын
check like this if (!isNumeric(value)) {
@Salehalanazi-76 жыл бұрын
I can't wait for the next section!
@smartherd6 жыл бұрын
Next section after 10 days. I came down to my hometown for durga puja
@JK920076 жыл бұрын
enjoy durga puja bro.....yes....common....
@venky49134 жыл бұрын
Third section successfully completed But clicking on the rupees or dollars it changes, but it appears blur screen on clicking Thank you so much ❤️
@lorenzomarin28564 жыл бұрын
Really, you are the best!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Really thank you man. Thank you
@leticiapires17545 жыл бұрын
Hi! I would like to sugest using ALT+ENTER to wrap the widget with your new widget, and to delete one. Because all stuff with parenteses become automatic[If you are using androidStudio]
@irfanansari64485 жыл бұрын
can you please be more specific?
@danishdarren11794 жыл бұрын
In visual studo code use shift +alt + F to restructure the code
@swarajdash54966 жыл бұрын
Hello sir, thanks to you and GDG bbsr's workshop I've already learnt so much of Dart and Flutter. I never did any development in Android Studio with Java, xml etc and directly started with Flutter (and feel comfortable). So should I continue with Flutter or should I learn the usual way and do Flutter later?
@smartherd6 жыл бұрын
It's okay. If u like flutter then continue with it
@hermenegildomatabeia88693 жыл бұрын
thank you and good job
@annyong17765 жыл бұрын
Thanks, and.. validation dropdownbootom?
@hicnar5 жыл бұрын
Make sure you add _formKey.currentState.reset(); line somewhere in your _reset() function :)
@idlevandal695 жыл бұрын
Thanks for that Chris. 🥇
@chandruganapathi24504 жыл бұрын
thank you !!
@refreshing_morning6 жыл бұрын
Sir, is it compulsory to learn Server and web parts of dart? While learning flutter ?
@smartherd6 жыл бұрын
As u proceed with flutter development, if it is needed then learn it. Else leave it
@senthilkumarp83144 жыл бұрын
Nice tutorial, Assignment answer Inside TextFormField we need to restrict the text by using the code below TextFormField( inputFormatters: [WhitelistingTextInputFormatter.digitsOnly], )
@ibnulimtiaz54023 жыл бұрын
This one is deprecated: inputFormatters: [WhitelistingTextInputFormatter.digitsOnly], this is new one inputFormatters: [FilteringTextInputFormatter.digitsOnly],
@krishnakumarramachandran58886 жыл бұрын
I created my First Flutter Application Succesfully.
@smartherd6 жыл бұрын
That's awesome. Keep going
@raghavaarr49885 жыл бұрын
Hi sir, need examples on linq(i.e Where)
@amadougarbayoussoufa70565 жыл бұрын
thanks Sir,This is a great tutorial good
@darish1556 жыл бұрын
Bhaiya naye videos kyon nahin daal rahe hain?
@smartherd6 жыл бұрын
buddy, ghar aaya hu dussehra me. Have patience, will upload soon.
@darish1556 жыл бұрын
I asked it because I thought you are sick. Btw, enjoy your holidays!😊 And ya, thanks for replying! 😘
@priyankahegde64415 жыл бұрын
Awesome👏
@ericjonas60446 жыл бұрын
Noticed you moved margin to a Padding widget instead Actually still confused.. it seems margin and padding are almost the same result?
@smartherd6 жыл бұрын
It's not same. U can check my previous videos for differences. Also, while moving margin to padding I stated too why I am doing it
@ericjonas60446 жыл бұрын
@@smartherd probably i need more practice to see the difference ;)
@chaitanyadeshpande55173 жыл бұрын
inputFormatters: [FilteringTextInputFormatter.allow(RegExp("[0-9]+"))] In your TextFormField, include this regex line. It will only accept digits from 0 to 9. If a character or symbol is entered by the user. That will not be shown.
@ramzanmubarak25915 жыл бұрын
what is form this video is not informated
@oussamaacharaf7834 жыл бұрын
thanks sir
@hasan82676 жыл бұрын
nice work
@smartherd6 жыл бұрын
Thanks
@smartherd6 жыл бұрын
Thanks
@vzhen5 жыл бұрын
I am from react native. Flutter looks so complicate to me. T.T
@Mahvendren4 жыл бұрын
Well both uses State though....
@varadgauthankar4 жыл бұрын
I am form flutter. React native looks so complicate to me. T.T
@vzhen4 жыл бұрын
Varad Gauthankar you r right. after 1 month learning flutter. It is so much better than rn.
@Solar5466 жыл бұрын
WOW
@darish1556 жыл бұрын
Flutter ke
@OystaFX2 жыл бұрын
"The method 'validate' can't be unconditionally invoked because the receiver can be 'null'." Who can help me with this error, after writing if condition for formKey.currentState.validate()
@OystaFX2 жыл бұрын
Problem resolved. Had to assert the compiler with "!" after currentState in "formKey.currentState!.validate()", that the null condition has already been handled by the if condition we wrote under the Principal TextFormField.