Тёмный

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

Smartherd
Подписаться 136 тыс.
Просмотров 38 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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
@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
@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.
@MdEmon-fi7xx
@MdEmon-fi7xx 4 года назад
Thanks A lot
@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.....
@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
@bestblue6778
@bestblue6778 5 лет назад
thank bro
@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(), ...... ......
@green4ao
@green4ao 5 лет назад
Is there any difference between controller.text = ' '; and controller.clear(); ?
@raul286162
@raul286162 5 лет назад
One is more straightforward than the other.
Далее
Flutter Basic Training - 12 Minute Bootcamp
12:09
Просмотров 933 тыс.
I Tried Every AI Coding Assistant
24:50
Просмотров 830 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,2 млн
Git Tutorial For Dummies
19:25
Просмотров 1,2 млн
25 VS Code Productivity Tips and Speed Hacks
11:35
Просмотров 2,4 млн