Questions tagged [scaffold]
429 questions
0
votes
1 answer
Scaffold.of() called with a context that does not contain a Scaffold error when showing snack bar flutter
In my screen I have a ScrollablePositionedList.builder and I'm using slidable to have slide to delete a record in db, I pop a show a confirmation dialog and after the user confirms deletion I want to show a snack bar for undo. Before adding the…

Vincenzo
- 5,304
- 5
- 38
- 96
0
votes
1 answer
Why TextEditingController is not working in flutter?
I am trying to implemenent a browser type search bar and using a text field to write a url there:
TextEditingController _textcontroller;
Widget searchbar() {
return Container(
child: Row(
children: [
Container(
…

Himanshu Ranjan
- 282
- 1
- 7
- 22
0
votes
1 answer
How to remove empty space below tab.. FLUTTER
This is my code implementation:
return Scaffold(
appBar: CustomAppBar(
scaffoldKey: widget.scaffoldKey,
// icon: AppIcon.settings,
// onActionPressed: onSettingIconPressed,
onSearchChanged: (text) {
…

ComaXD EA1
- 405
- 5
- 13
0
votes
1 answer
The argument for the named parameter 'body' was already specified.What we should do when we have two "bodys' in a scaffold in flutter
Error: The argument for the named parameter 'body' was already specified.What we should do when we have two "bodys' in a scaffold in flutter
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
…

sr2k23
- 127
- 1
- 2
- 12
0
votes
1 answer
When to use new Screens in Flutter instead of TabBarView
I am fairly new to Flutter and I try to understand when and why it would be necessary to navigate to a new screen. Most apps keep the same AppBar, Drawer & BottomNavigationBar (if any) through all the different "screens". Wouldn't it be easier to…

DevLuke
- 40
- 6
0
votes
1 answer
in Flutter, problem arise when I add ListView in my scaffold
I am new to flutter, trying to add a listview to one of my route that when clicked, take me to a new route specific to each of the list card.
here's my route code:
class SecondRoute extends StatelessWidget {
@override
Widget build(BuildContext…

mrwuscience
- 53
- 7
0
votes
4 answers
Open SnackBar inside function sent to AppBar
I have a page with a form. Once the user clicks on Save, it should display a SnackBar. The save button is in a separate custom AppBar widget (in a separate file) and it has 2 functions that is sent from the page with the form. The AppBar is…

Charitha De Silva
- 23
- 11
0
votes
3 answers
How to change app title in "Task Menu" Flutter
When enter task menu(android), it shows "Flutter Demo" instead of my app label string in Manifest xml file. In the screen pages, I used scaffold with no app bar, hence no title, but there's safe area widget inside.
Where shall I edit in order to…

mocha234
- 127
- 2
- 11
0
votes
1 answer
fixed snackBar in bottom of screen
i am new to dart
So i am frustrated by the snackBar is appears just in the footer of the body.
and above of persistentFooterButtons and bottomNavigationBar
plz someone help me to fixed the snackbar on the end of screen .
this my code:
Widget…

user41vall
- 11
- 1
- 3
0
votes
1 answer
Not Loading the value in Real Time
I am using below code to get the total number of documents from the firestore collection and then store it to int countDocument, it does get the value accurately, but when I used to display the same value in the Flutter widget Text Widget which is…
user13615795
0
votes
1 answer
ASP.Net Core 3.1 scaffolded Identity pages not all used (ie. Login page OK, Register page NOK)...why?
I just scaffolded successfully the Identity pages with the dotnet aspnet-codegenerator identity tool and added some custom code on Startup to populate some Roles.
Then I wanted to update the /Areas/Identity/Pages/Register.cshtml.cs file with some…

poluxxone
- 1
- 1
0
votes
1 answer
Why is my bottom navigation bar becoming blank upon push?
When i invoke the loadingDelete method upon deleting a post where the Navigator.push.. takes place, i am directed to the Profile page but with my bottom navigation bar empty (appearing empty where icons(content) are blank).
I keep on encountering…

DCodes
- 789
- 1
- 11
- 27
0
votes
1 answer
“An unhandled error has occurred.” when using Identity scaffold elements in a Blazor application
Created a Blazor WebAssembly 3.2.0 Preview 3 application template using Individual User Accounts and the ASP.NET Core hosted parameter
At this point, everything starts up correctly and the standard Blazor application is displayed.
Added scaffold…

Dima ddk
- 3
- 2
0
votes
1 answer
Flutter: Custom Appbar, Floating Action Button and BottomSheet in Master-Detail Layout
I'm working on an app, that uses a Master-Detail-Layout.
So far I'm using two Scaffolds in an Row. The left side of the layout is wrapped in a Scaffold and the right side is also wrapped in a Scaffold. But it's probably not the best solution.
If I'm…

Frederik
- 1,221
- 2
- 13
- 22
0
votes
1 answer
How to validate a form inside the bottomSheet which is included in a Scaffold?
I would like to validate the form inside the bottomSheet which is included in a Scaffold.
The problem is when i close the bottomSheet and click 'SAVE' (in the AppBar).
It seems final form = _formAddPlayerKey.currentState; return null when the…

rach
- 129
- 1
- 5