Sponsored links
JavaScript/TypeScript

Node-RED flow test is slow if flow is big

I have tried several times to reduce test time of Node-RED flow test and failed. For the flow test, I use node-red-node-...
Dart and Flutter

Flutter Add TextField widget dynamically

TextField requires TextEditingController that must be disposed. If we want to add TextField dynamically we also need to ...
Dart and Flutter

Flutter move screen up on the keyboard

Scaffold widget has persistentFooterButton property. When we assign widgets there they are hidden under the keyboard. re...
JavaScript/TypeScript

TypeScript – Using never type in switch case

TypeScript offers never data type for values that never occur. I've never seen it in my work but I found it useful for s...
Dart and Flutter

Flutter – Retaining current view state

When using PageView and moving to another page and coming back to the original page, its state is clear. I just wanted t...
Dart and Flutter

Flutter Set value from parent widget

I wanted to call a function from the parent widget to clear the current value of the child widget. To do that, we need t...
Dart and Flutter

Extended widget doesn’t solve a RenderFlex overflowed error

I faced RenderFlex overflowed error while I was implementing Flutter app. I could eventually solve the problem by using ...
Dart and Flutter

Flutter – How to add label to Divider widget

Flutter offers Divider widget but it is very simple one and doesn't offer label. To add label text we need to use Row wi...
JavaScript/TypeScript

Testing a function specified in callback that cannot be triggered in test

Don't you have a good idea to write a test of the logic specified in a callback function? Isn't it possible to control t...
Dart and Flutter

Dart – how to assign int/String values to enum

Dart supports only the simplest case on enum and its index always starts from 0. However, we often want to assign values...
Sponsored links