459 questions
0
votes
1
answer
82
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
67
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
89
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
143
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
51
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
48
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
109
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
87
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
250
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
335
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
56
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
170
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
424
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 ...
0
votes
0
answers
32
views
How to create a column that does not impose displacements on child size change
as you can see the widget below the searchBox also know as QuranPicker should draw a full screen dim when expanded and the rest of ui shouldn't change size or position when it happens. I have tried so ...
0
votes
1
answer
151
views
Styling the divider of persistent footer buttons in flutter
How do I add elevation and box shadow to the divider provided by persistent footer buttons in Scaffold widget in flutter?
1
vote
1
answer
602
views
How to make the bottomBar appear above the keyboard when focus comes to textField in jetpack compose?
I want the bottomBar to appear above my keyboard whenever the focus goes to the textfield.
What i want is this:
I tried manipulating the windowInsets but got nowhere and i believe the method won't ...
0
votes
0
answers
69
views
How to customize table class names on efcore when scaffolding
I have a database with a Task table, that is conflicting with System.Threading.Tasks.Task.
My idea is to add a Db prefix to all tables. Is this doable? is there another way to prevent this conflict?
1
vote
0
answers
305
views
Flutter Make Drawer Overlay over the bottom navigation bar of a Page inside the Shell Route of Go Router
So in Flutter, i am using Go Router for Navigation and have created a Shell Route to provide Bottom navigation for pages. I want it such that when i open the Drawer from one of the page inside the ...
0
votes
1
answer
238
views
Error with scaffoldState and drawerContent parameters in Jetpack Compose Scaffold
enter image description here
I am trying to make the navigation pane work of the app I was building using jetpack compose but I am using version material3 for the scaffold and the video through which ...
1
vote
1
answer
68
views
How to make Scaffold floatingActionButton not clickable through
I have Scaffold and floatingActionButton on it.
floatingActionButton has layout as Row with fillMaxWidth and buttons on it.
Under floatingActionButton I have some buttons and I could click on empty ...
3
votes
2
answers
846
views
Jetpack Compose - Scaffold bottom bar hides TextField when keyboard is opened
When I click on the TextField, keyboard opens, but the bottom bar is covering the TextField.
Is there a way to make this field visible without programmatically scrolling?
Scaffold(
...
1
vote
1
answer
1k
views
Upgrade from .NET 6 to .NET 8: Custom Context with Configuration - DB First
I want to upgrade from .NET 6 to .NET 8. I have to use DB first approach.
In .NET 6 I created a custom context to be able to pass a connectionString from the injected Configuration.
public partial ...
0
votes
1
answer
2k
views
Close bottom sheet on tap outside
I have screen, where I open bottom modal sheet. I call following function:
Scaffold.of(context).showBottomSheet();
I need to use this method, I cannot use any other method for showing modal sheet. ...
0
votes
0
answers
122
views
Flutter Appbar issues
I am new to flutter. I used appBar property in Scaffold widget and although the color in the tutorial is default lightblue color, my appbar has no color.(typically white) And also I can't find any ...
2
votes
1
answer
1k
views
App Bar Transition with Scaffold in Jetpack Compose
The issue I'm encountering is that when transitioning between screens, the top app bar always appears first and doesn't follow the transition of the intended screen.
How do I make the top app bar of a ...
0
votes
0
answers
148
views
EntityFrameworkCore.Jet: Scaffold doest not work - COMException (0x800A0CB3)
The problem
When i try to scaffold the nordhwind.accdb i get a COM Exception
In VSCode Powershell Terminal:
dotnet ef dbcontext scaffold "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=<PATH>...
0
votes
1
answer
175
views
Local navigation inside body of a Scaffold
I'm trying to navigate locally inside the body of a Scaffold in Flutter. In particular, I wanna push a new body of the Scaffold when '+' button is pressed. Important: I wanna keep app and bottom bars ...
2
votes
1
answer
556
views
docker-compose odoo scaffold Permission Denied
I wrote this docker-compose.yaml file to generate aodoo instance:
version: "3.1"
services:
web:
image: odoo:16.0
depends_on:
- db
ports:
- "8069:8069"
...
1
vote
1
answer
657
views
How to make Scaffold content (but not Bottom Bar) move up when keyboard is shown?
I have scaffold content with verticalArrangement = Arrangement.Bottom.
How can I make the content move upwards when the keyboard is shown, but keep the bottom bar of the scaffold in place?
0
votes
1
answer
521
views
Android Jetpack compose Scaffold content recomposition
I am making a simple music player app, I'm trying to learn jetpack compose. I want to make an overlay view that will show over all the other app screens, similar to floating action button.
This view ...
1
vote
0
answers
275
views
Flutter dialog: how to make scaffold wrap its content?
showDialog(
context: context,
barrierDismissible: false,
builder: (BuildContext context) => Dialog(
child: Scaffold(
appBar: AppBar(title: Text('My Title')),
...
0
votes
1
answer
225
views
when executing the command - docker exec <odoo-container> odoo scaffold <project1> /mnt/extra-addons >>>PermissionError: [Errno 13] Permission denied
when executing the command - docker exec odoo scaffold /mnt/extra-addons >>>PermissionError: [Errno 13] Permission denied : '/mnt/extra-addons/device'
I've already tried
-sudo chmod 777 /...
0
votes
1
answer
295
views
Problems with theming scaffold in flutter
I encountered 2 main problems when theming the scaffold of my app:
Look first at the app bar and you can see it's a color different from the scaffold (something like my primary color with opacity) ...
0
votes
1
answer
197
views
Entity Framework using wrong tablename for table class when execute Scaffold-DbContext command
I use this code to generate my project models:
Scaffold-DbContext "Server=.;User ID=*****;Password=*******;Database=*******;Trusted_Connection=True;Encrypt=False;"
Microsoft....
0
votes
0
answers
355
views
.NET Core : the call is ambiguous between the following methods or properties
I am working with .NET Core and I try to generate identity scaffold by using CLI:
dotnet aspnet-codegenerator identity -dc entityFramework.Models.MyBlogContext
But, when I run this, I get an error:
...
-1
votes
1
answer
961
views
Error when Scaffold-DbContext with ConnectionString from appsettings.json, but works if manually specifying same connection string
I am trying to reverse create the C# code from an existing database.
If I manually enter my connection string and type the command:
Scaffold-DbContext 'Data Source=MyServer;Initial Catalog=MyCatalog;...
1
vote
1
answer
140
views
Scaffold error : Type 'TypeVariable(T)' has no method 'getValue(Nothing?, KProperty<*>)
i saw this code exemple from the official android website
i didnt change any thing in the gradle file and i got an error
my code and my imports :
@Composable
fun ScaffoldExample() {
var presses ...
1
vote
1
answer
133
views
Drawer content are unexpectedly shown when the device screen is rotated
I have Scaffold with drawer content. Also I set attribute configChanges="orientation|screenSize" in manifest file.
When I rotate screen from portrait orientation to album, drawer content ...
0
votes
1
answer
405
views
why my Scaffold topBar is not working well(look the image)
I dont know why my Scaffold is not working Currectly(in topBar )
could you help me to fix it please?
this is my Code :
package com.farshadchalenges.littlelemonapp03
import android.annotation....
0
votes
0
answers
55
views
Flutter - Remove the extra top of second appbar
I have a page: return Scaffold (appBar: appBar1...)
I have a package, in the package i have a pageA - return Scaffold (appBar: Appbar1)
. When i push a new screen from pageA - this navigate to the new ...
1
vote
0
answers
180
views
Make bottomBar in compose android scaffold as transparent
In Android Jetpack compose,
I have a root level ModalBottomSheetLayout.
In its content, I have a Scaffold. Scaffold content has a list of data shown.
In bottomBar I am showing a logo with some top &...
0
votes
1
answer
42
views
List all methods related to a model which scaffold creates
Is there a way to list all methods which scaffold creates regarding Ruby on Rails?
Example:
rails generate scaffold user name:string admin:references
Now, within the controller, the following ...
1
vote
0
answers
426
views
Navigation Drawer in compose is hiding my content?
ModalNavigationDrawer(
drawerState = drawerState,
drawerContent = {
ModalDrawerSheet(
drawerShape = ...
1
vote
0
answers
70
views
Why is the Text in the TopBar and in the Content inconsistent in this Scaffold?
I may have stumbled upon a bug in Jetpack Compose when using Scaffold and Kotlin Flow. Before submitting a Bugreport, I'd like to know if I made some error.
There is a minimal runnable example under ...
2
votes
2
answers
5k
views
Why is ScaffoldState not working in Android Studio Kotlin with Jetpack Compose?
I try to use a Scaffold in android studio with jetpack compose, but I can't use the scaffoldState in my project. Both in a @Composable Scaffold parameter and the rememberScaffoldState() method.
Here ...
0
votes
2
answers
196
views
BottomNavigationBar selectedItemColor not working with svg in flutter
I have the following code in my widget build method:
return CustomStyle(
body: Scaffold(
backgroundColor: Colors.transparent,
body: Center(
child: _widgetOptions.elementAt(...
0
votes
1
answer
578
views
Flutter : Scaffold not resizing after i open the keyboard
the keyboard is covering the TextField,
I have tried setting the resizeToAvoideBottomInsets to true but the scaffold is still not resizing and the keyboard is still covering the TextField .
here is ...
0
votes
1
answer
3k
views
How does Flutter find Scaffold inside a modal bottom sheet?
I am trying to understand how Flutter finds Scaffold from inside a modal bottom sheet.
This is all what I know:
When Flutter opens a modal bottom sheet using showModalBottomSheet, it adds the ...