Flutter Event Handling: Add logical code: Flutter Tutorial for Beginners using Dart #3.7

  Рет қаралды 38,325

Smartherd

Smartherd

Күн бұрын

Пікірлер: 16
@karthickrajalearn
@karthickrajalearn 5 жыл бұрын
In 8m 44sec Thanks for Showing Details purposes of Exception We have to write and handle the code
@factworld4375
@factworld4375 5 жыл бұрын
Thank you. Your videos always boost my energy to learn new technologies.
@ankitchopkar7787
@ankitchopkar7787 4 жыл бұрын
hello sir please upload the video of when user use one button and do the two conditions are work, for example i enter amount , gst percentage select dropdownlist gst exclusive, and press calculate button on the other hand select gst inclusive in dropdown and press calculate button so tell me
@MdEmon-fi7xx
@MdEmon-fi7xx 4 жыл бұрын
Thanks A lot
@adesinaolusegunabiola9615
@adesinaolusegunabiola9615 3 жыл бұрын
Thanks @Smartherd, even though i get to see this video years after it has been uploaded yet i must confess its top notch. God bless you. pls i have been strugling with section 3.7 for about 2days now and i seem not to find a solution to the bug. onChanged: (String newValueSelected) { // Your code to execute, when a menu item is selected from dropdown _onDropDownItemSelected(newValueSelected); }, The error i'm getting is The argument type 'void Function(String)' can't be assigned to the parameter type 'void Function(String?)?'. Kindly help. thanks
@nanthchakkhamhoung4144
@nanthchakkhamhoung4144 3 жыл бұрын
Add ? after String onChanged: (String? newValueSelected) Also, add ? after String at _onDropDownItemSelected method void _onDropDownItemSelected(String? newValueSelected){ setState(() { this._currentItemSelected = newValueSelected.toString(); }); } Not sure if it's good practice but it works.
@Rabab-Rhythms
@Rabab-Rhythms 3 жыл бұрын
i need code of this vedio but the link you mention below says that the service is unavailable,error 503.i tried alot of time.what to do
@floridosmarpepa8904
@floridosmarpepa8904 5 жыл бұрын
I didn't understand the double.parse . It makes a string to a double? so that we can put in the double declared variable?
@michaelb2793
@michaelb2793 5 жыл бұрын
Even if a number is entered in the Text field it is still a string, can't do (string + string) so you have to convert them to numbers first, before doing calculations.
@lalatkishorechoudhur
@lalatkishorechoudhur 4 жыл бұрын
Thank you Sir.....
@bestblue6778
@bestblue6778 5 жыл бұрын
thank bro
@green4ao
@green4ao 5 жыл бұрын
Is there any difference between controller.text = ' '; and controller.clear(); ?
@raul286162
@raul286162 5 жыл бұрын
One is more straightforward than the other.
@shahanazputul6265
@shahanazputul6265 5 жыл бұрын
TexField Widget overlap and hide by soft keyboard when it focus, how I will be solved, I am doing same to same copy and past your code. Otherwise everything is perfect.
@SuyogyaRatnaTamrakar
@SuyogyaRatnaTamrakar 5 жыл бұрын
I fixed that by enclosing the Scaffold widget's body in build() method with a Gesture Detector, it allows you to tap anywhere outside your current textfield, to dismiss the soft keyboard. Code snippet: @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( backgroundColor: Colors.indigo, title: Text("Simple Interest Calculator"), ), body: GestureDetector( behavior: HitTestBehavior.opaque, onTap: () => FocusScope.of(context).requestFocus(FocusNode()), child: Container( margin: EdgeInsets.all(_minimumPadding * 2.0), child: ListView( children: [ getImageAsset(), ...... ......
@cedric_ds
@cedric_ds 4 жыл бұрын
6:04 I have a separate class for my custom CurrenciesDropDownButton (for cleaner Code). How can I access my currentCurrency property in the State to use it in the Text like you? I hope you understand what I mean. same for 6:58
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 116 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 14 МЛН
UFC 308 : Уиттакер VS Чимаев
01:54
Setanta Sports UFC
Рет қаралды 909 М.
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 33 МЛН
Proper Error Handling in Flutter & Dart (#1 - Principles)
31:30
Reso Coder
Рет қаралды 53 М.
Flutter Tutorial - Toast Message | A Different SnackBar
5:17
HeyFlutter․com
Рет қаралды 25 М.
龟兔赛跑:好可爱的小乌龟#short #angel #clown
01:00
Super Beauty team
Рет қаралды 116 МЛН