How to Obx in RxStatus.success() function

I use CheckboxListTile to input checkbox. this is a function to retrieve a list of data from firestore <pre><code> void initDoctorCategory() { DoctorCa...

How to show/hide widgets programmatically in Flutter

In Android, every single <code>View</code> subclass has a <code>setVisibility()</code> method that allows you modify the visibility of a <code>View</code> object...

Drag a container vertically up and down to a certain level flutter

I am new to gestures and I don't get any proper solution for achieving my request, Can anyone help me in dragging a container up and down vertically to a certain point...

stateless widget vs stateful widget performance

What would happen if we converted a stateless widget to a stateful widget? Is there any performance issue?

How to deal with unwanted widget build?

For various reasons, sometimes the <code>build</code> method of my widgets is called again. I know that it happens because a parent updated. But this causes und...

When creating a button that goes to the next page, do I need to initialize it?

I am implementing an app using a plotter. We are developing to move to the next page by pressing a button created using InkWell. If you only have one button, no proble...

Stateless Vs Stateful rebuild

when a stateless widget is inside a stateful widget it will redraw or not? now the stateless widget can't be redrawn at run time but stateful can. the question is when...

How can Widget Classes Arguments be used as props to create dynamic Widgets with Row and Columns in Flutter?

I am revisiting Flutter development after working with React after some times and I was trying to implement something as passing props across multiple components, in o...

it is giving error in declaring variable gender (flutter)

<a href="https://i.stack.imgur.com/9igWa.png" rel="nofollow noreferrer">error in adding variable name gender</a> <pre><code>class _InputPageState extends State&lt;...

Adding a splash screen to Flutter apps

How would you approach adding a splash screen to Flutter apps? It should load and display before any other content. Currently, there is a brief flash of color before t...

Flutter Text Widget

I have a simple screen with three text widgets and when the user click on one of these text widget that text should turn black font text color and other text widget co...

The equivalent of wrap_content and match_parent in flutter?

In Android <code>match_parent</code> and <code>wrap_content</code> are used to resize the widgets automatically relative to their parent to the content the widget cont...

Scrolling not working with SingleChildScrollView

I want to do scrolling using flutter driver on a page that uses SingleChildScrollView.. the layout looks like this <pre><code>return Scaffold( backgroundColo...

Flutter SqlLite RadioListTile Cant Select First İtem

I am using sqlite. I'm trying to show the data with a radiobutton, but I need to make a check for the room; The card color of the radio button I selected will be orang...

Return value from widget to parent class

I encounter the following issue. In Body class I have a widget Counter (Counter class) and what I need to do is to get the currentAmount value and return to Body class...