459 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
91
views
Android Jetpack Compose: BottomSheetScaffold state management - ViewModel vs Composable level? [closed]
I'm building an Android app with Jetpack Compose using BottomSheetScaffold, and I'm unsure about the best approach for managing the sheet state. Should I manage it at the composable level for direct ...
0
votes
1
answer
68
views
Flutter Scaffold creates invisible Listener (402x62) at the top, blocking touch interactions — how to deal with it?
I'm building a Flutter layout using Scaffold. While inspecting the widget tree using the Widget Inspector, I noticed that an invisible Listener widget with size 402x62 appears at the top of the screen....
2
votes
0
answers
98
views
Display BottomAppBar outside a Scaffold composable
I have all the screens inside a Scaffold and a NavHost:
Scaffold(
snackbarHost = {
SnackbarHost(hostState = snackbarHostState)
},
modifier = Modifier.fillMaxSize()
...
1
vote
0
answers
171
views
EF Core scaffold-dbcontext: Don't create nullable properties on columns with default values
I'm generating my Entity Framework C# classes using a database-first approach, and running the following in the Package Manager console:
Scaffold-DbContext "Server=[...];Database=[...];Integrated ...
0
votes
0
answers
53
views
Android Compose Navigation out of Scaffold
my Compose app is structured with a Scaffold with its NavHost and BottomNavBar. The scaffold contains three navigation graphs, each of them containing several composables. Navigation can be achieved ...
-1
votes
1
answer
51
views
I cannot do a scaffold with a few tables with user secrets in my API project in .NET 9
I'm new to ASP.NET Core 9 Web API, I'm trying to do a scaffold with a existing database and using user-secrets follow the Microsoft documentation.
I created my user secret file and my keys something ...
1
vote
1
answer
113
views
How to fix the BottomAppBar?
image 1
image 2
How to fix the BottomAppBar in Flutter
When I tap on a TextField inside the Scaffold and open the keyboard, the BottomAppBar shifts slightly upwards behind the keyboard. Once the ...
0
votes
1
answer
32
views
Flutter display snackbar above scrollable bottom sheet and keep the shrinkwrap of the ListView.builder
The problem is that many people suggest wrapping your bottom sheet with a Scaffold widget, but that's an issue if you have isScrollControlled: true and ListView.builder with shrinkwrap inside the ...
0
votes
1
answer
98
views
Is it correct to insert Scaffold into SafeArea
import 'package:flutter/material.dart';
class Test extends StatelessWidget {
const Test({super.key});
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
...
1
vote
0
answers
51
views
Getting flash of a white scaffold or a loading screen - flutter My Notes App
It seems like the issue you're encountering is that the theme is not applied immediately when the app starts, and there’s a delay before the correct theme is applied because you're waiting to load the ...
1
vote
1
answer
261
views
How to create a Top App Bar with a row below inside it
I want to create a Top App Bar with a row below it and make it (top bar + row) hide when i scroll down and appear when i scroll up. I want the row be part of the Top App Bar.
This is a litte test that ...
0
votes
3
answers
351
views
How to show snackbar above the keyboard
I was having bottom overflow issue (this is so funny) when keyboard is shown, so I set my scaffold resizeToAvoidBottomInset property to false as suggested in a few SO posts.
Doing this fixes the ...
1
vote
1
answer
58
views
Can't click on the items under the Snackbar in jet pack compose
I can't click on the items under the Snackbar. I use Scaffold for showing snackbar, but Scaffold occupy all of the screen
Box {
CompositionLocalProvider(
LocalProviderSnackbarImp ...
0
votes
2
answers
172
views
How to add multiple children in a body [closed]
I am new to Dart and I am currently stuck on how to add multiple children in a body. Right now I need to add 4 children in a body and I do not know what to do.
I have tried this:
This is my body:
body:...
3
votes
1
answer
447
views
Jetpack Compose verticalArrangement to center of the Scaffold doesn't work
I am trying to get the text in my basic app centered vertically. I use a Column with verticalArrangement = Arrangement.Center, but it is still at the top of the screen:
Can you help me find out what ...