Questions tagged [scaffold]

429 questions
1
vote
1 answer

flutter scaffold appbar is grey

I have a problem with flutter scaffold when I make a StatefulWidget and return scaffold a weird grey appbar appears I tried disabling it from appbar like that return Scaffold( extendBodyBehindAppBar: true, appBar: AppBar( …
S.alhaider
  • 124
  • 2
  • 11
1
vote
1 answer

Weird behaviour when put Scaffold inside NestedScrollview? Auto scroll to top when clip under SliverAppbar

I have a weird behaviour, auto scroll to top when click the first index of the listview.builder. I want to achive a SliverAppbar with bottom is a TabBar and a body with TabView. Each TabView have a Scaffold with FloatingButton. Here is my code to…
Khoa Le
  • 46
  • 5
1
vote
1 answer

Flutter Widgets are moving if Keyboard appears even though resize is set to false

I have a weird behavior inside my app... I am using a PageView and on the 2nd page I am focusing a TextField on the pages init. That is working fine. However on the first page my Widgets are moving a little bit even though I set in the wrapping…
Chris
  • 1,828
  • 6
  • 40
  • 108
1
vote
1 answer

Scaffold takes entire screen although it's not needed Flutter

I have the following code: import 'package:flutter/material.dart'; import 'package:spiran_app/constants/constants.dart'; import 'package:spiran_app/widgets/form_textfield_widget.dart'; import…
Morez
  • 2,085
  • 2
  • 10
  • 33
1
vote
1 answer

How to update scaffold generated MVC + routes for a nested resource with 2 belongs_to relationships in rails

I'm creating a virtual library in Rails and I'm running into errors when I'm trying to create views for basic CRUD on a nested resource. My best guess is that I'm not passing the variables correctly in the view and/or my generated controller hasn't…
1
vote
1 answer

How to list active records using Active scaffold with association in rails 2.3.8?

I want to list all the records from DB, which are all active(true) in my index page. I'm using active scaffold plugin with rails 2.3.8. any suggestion how to add active condition in my controller? here is my admin controller class…
prabu
  • 6,121
  • 8
  • 35
  • 39
1
vote
1 answer

How do I update my Entities using Scaffoling process in EFCore 3.1 -- Execution Timeout Expired

I'm able to run my API and make calls which get data from the DB. Then when I try to update my Entities - after making db changes I get the error: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the…
Robert Green MBA
  • 1,834
  • 1
  • 22
  • 45
1
vote
3 answers

Flutter : Fill the image over the body

I am working on a flutter project. I have loaded an image and I want it to fill up the body. After reading the documentation I came up with this: void main() => runApp(MaterialApp( home : Scaffold( appBar: AppBar( title: Center( …
shankyyyyyyy
  • 97
  • 1
  • 1
  • 9
1
vote
0 answers

Copy additional file with default rails scaffold

I customized my scaffold files (view and controller). But by default it copies only the standard files like: _form.html.erb edit.html.erb index.html.erb new.html.erb show.html.erb but I've to copy (and render) additional files like a…
andi
  • 311
  • 1
  • 16
1
vote
0 answers

RenderRepaintBoundary object was given an infinite size during layout

I get this error when I call the closescalenderevent page. I want to display the list I created and if I want to return to the previous page from the back button in the appbar, but I get this error. The screen is not displayed. I want to go to the…
Apple
  • 141
  • 2
  • 7
1
vote
1 answer

How to make the drawer in the scaffold at the top of the screen and the BottomNavigationBar is behind on the drawer in flutter

Please see this pic. This picture is what happening in my code. I want the drawer to be on top of the bottomnavigationbar. I want the bottomnavigationbar behind the drawer.
1
vote
1 answer

How to prevent Flutter widgets resize When the keyboard appears?

When the keyboard appears, the Flutter widgets resize. How to prevent this without using resizeToAvoidBottomInset : false, if I make it false then I can't see the TextFormField because the keyboard been above it so waht to do? here is my code …
Husamuldeen
  • 439
  • 1
  • 8
  • 21
1
vote
2 answers

Flutter Row not taking full Scaffold height

I am working on the skeleton of a tablet app with flutter and I am facing, probably a very simple issue, but it is getting tricky for me to figure out what is going on here. Basically the skeleton of the app should look something like this: For…
codeKiller
  • 5,493
  • 17
  • 60
  • 115
1
vote
1 answer

Snackbar and exception: scaffold.of()

Why after tap on my iconButton my snackBar throw me exception with Scaffold.of()? Scaffold.of() called with a context that does not contain a Scaffold. No Scaffold ancestor could be found starting from the context that was passed to Scaffold.of().…
user13400201
1
vote
1 answer

Align Persistentfooterbutton of Scaffold to the right side

I want to display a List and beneath it a Persistent footer, a Column with some rows. I use persistentFooterButtons of Scaffold. The closest to what I get is this: But I am unable to align the fields to the right. When I work with Align or…
relascope
  • 4,399
  • 4
  • 22
  • 27