Flutter-web Questions
Ad
Flutter web: tried to call a non-function, such as null: 'dart.global.firebase.storage
Im using firebase plugin for web and managed to work with firestore and authentication. now, im trying to enable firebase storage but when i
How can i get web site title in flutter?
I want to get the title of a given website address in flutter. example a website title : <title>some value</title>. how
How can I move the switch to the top right?
Import 'dart:html'; import 'package:flutter/material.dart'; void main() { runapp(const myapp()); } class myapp extends statefulwidget
Flutter integration_test: Can't input integer, double values to tester.enterText() method?
I am developing integration_test for my flutter-web application ....wherein i encountered tester.entertext() method doesn't input
How can i use random color in colors array(not in single color) in flutter
If we need a random color for single color, there are lot of methods like color:
Flutter Program Works on Web but Not Running on Android Device
This flutter program works in on the web, but doesn't on android how do i fix the code to run this on android device.
How to add more more widgets on screen in flutter, after user action
I want the text fields of this form to appear on the screen one by one, as the user submits the data. for e.g., as is shown in the image
Scrolling effect outside of scrolling view? Flutter Web
I wuld like to be able to scroll even if the cursor was on the right side of the row. and maybe having the scroll bar on the far right as normal.
How to archive a sliding cover image effect in Flutter
Slider that covers an image with another image has anyone an
how to use multi scroll in one screen -Flutter
I want to create an web ui in flutter like trello in that i want one horizontal primary scroll and one vertical secondary scroll but i am not able
Ad
Prevent refresh button or prompt message if click refresh (flutter web)
I know that for back button we can do by using the willpopscope, but right now i' m trying to prevent user from refreshing the page,
How to solve this issue Execution failed for task ':app:compileFlutterBuildDebug'
I have a already try multiple methods but failed, failure: build failed with an exception. where: script
Call specific platform function on a Flutter federated plugin
I want to know what should be the best way to have a platform specific function on a federated plugin and how to call it from the main app.
flutter error: A RenderFlex overflowed by 1088 pixels on the right
I am using two text in side a column, one text field is long then i got this error "a renderflex overflowed by 1088 pixels on the
Underlines of TextFormFields in form not uniform no matter what I do. How to keep a uniform thickness for all underlines of TextFormFields?
I'm brand new to flutter and building a form in flutter containing multiple textformfields, and a radio button. but, something weird
Flutter Web putData doesn't Put the Data
With flutter web, firebase storage, getting an xfile from image_picker, i am trying to implement the putdata method, (which actually executes
Best way to use multiple custom fonts in Flutter web without increasing app size/initial load time
I have flutter web application and there almost 25+ fonts need to be used , all font folder size more than 35mb so please suggest me best way to
How to open a link to call or Mail (tel: and mailto:) in flutter. Using flutter_webview_plugin
I am creating a webview app using flutter_webview_plugin. i am stack at allowing the app to launch phone call and mailto links. when i use
Received status code 502 from server: Bad Gateway with exo player
I am getting this error " > could not get
Flutter [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: type 'Null' is not a subtype of type 'BuildContext'
I'm trying to validate the input data entered by the user for signing up and getting this error
How to split the string based on particulat charactor in Dart | Flutter
I'am getting a timestamp 2022-01-01t09:38:28.807+00:00 from the api. i want to split it into date and time. here from this timestamp
Ad
How to add json list items to dropdown search items in Flutter | Dart
I'm creating a dropdown button with search. so i using this
Flutter web api getting XMLHttpRequest
My app works fine on android, but on web, i get the error : error: xmlhttprequest error.
Flutter web: get full screen size - not window size
My flutter desktop web app has complex ui that would be too tricky to make responsive. so instead i want to put it in a fittedbox
Flutter Desktop Multi Monitors
On flutter desktop , i want to use multi monitors. like when application started , i will see all monitors and click one of them ,then application
Flutter: Card's RoundedRectangleBorder not working in Flutter Web?
I tried to design some sample in flutter web there is a issue that i can't apply roundedrectangleborder to a card because it's not
Flutter: Route to a specific page of pageview widget from another dart file
I am currently working on a webapp and want to route from one page to a specific page of a pageview widget. i know, that i can jump to pages in
2 scroll bars present in flutter web
I'm having a bit of annoyance. i want a scroll bar present in my flutter web 'page' at all times, to indicate to the user that there's still some
Flutter MouseRegion is not working when the child is a Chip Widget
The mouse cursor in my flutter web program is not changing to a click cursor on hover when the child is a chip widget. i changed the chip to a
Flutter web shows a blank screen in build mode
After finishing my web app on flutter i tried to release it on the server by flutter build web command. i uploaded my files to the
Flutter Web - Can't change GET request's referer in header
I'm trying to call a get request using chopper with a custom referer. but everytime it calls, it only uses the default referer. i
Flutter webview with custom javascriptInterfaceAdapter or invoke JS using webview controller
I have an old java project that performs in andorid webview with addjavascriptinterface mwebview.addjavascriptinterface(new
Ad
Showing Dialog in nested MaterialApp - flutter
I'm using a nested materialapp such that, firstmaterialapp has secondmaterialapp as its child. i'm facing an issue when
Flutter web - Set state based on url
I am developing a flutter website with a persistent navigation bar on top that displays the current page the user is on, by adding a border around
Can't convert a Datetime from a string to another format (eg: 14/12/2021 03:34:03 PM to 03:34 pm)
I'am trying to convert a datetime string from one format to another. i tried to use intl package. but i don't know how to convert this string to
How to update widget tree from another widget class - Flutter
I am facing problem to re-render the page when a variable changes in one class/widget (both parent and child widgets are stateful classes).
Flutter web cannot visit url
In flutter web, how can i open certain page via full address? the scenario is: open a classroom page route like await
Managing flutter app and flutter web data locally
I was working on a project to create a flutter to-do app to store data locally on mobile devices but i am not sure how to save data on local
FLUTTER: RangeError (index): Index out of range: no indices are valid: 0 (Pass Parameters)
I hope you can help me find a way to solve this problem that arises, i am trying to pass the data from the list and the index to the next tab.
Is there a way to use secrets in flutter web deployments on Netlify with or without using GitHub workflows?
I have a flutter web app and i'm not much familiar with github workflows. i have a dotenv file that stores a token needed by another
Block landscape mode in flutter only for one page | Flutter
I want to block the landscape mode for some pages in my application and that page should always be in portrait. i tried some code but that make
How to show "You're offline" when web view app open without internet in Flutter Web view App?
I create a webview app in flutter. but when the app open without internet its showing this
Flutter GetX routing will redirected to initialRoute
I currently investigate the following problem: when i try to open the page the first time with link arguments like
Ad
Expected a value of type 'String', but got one of type 'Null' . This is for an eCommerce app
I got this error in main.dart but i dont think anything is wrong in it. main.dart: void main() => runapp(myapp()); class
Firebase - How to access the deployed application
I have just deployed my flutter app to the firebase. when i go to the hosting section on the firebase, i do see domains listed as .web.app and
How to add server timestamp to firestore document in flutter?
I am new to firestore. when i try to add a document through the add method within the function addsubject, it throws the error "expected a
flutter : data to go over the curve parts when I scroll
I post two images, first is looking good but when i am scrolling my data then my ui is getting messed up(second image) i want it to go
How to properly override a class so that is uniquely added to a Map in Flutter [Dart]
I want to create a map<activityproject, int> in flutter and have activityproject uniquely stored inside the map. below you
How to Convert date in string type to another date format. | Flutter | Dart
I have a string date and i want to convert it in another format. for eg : i have a date "25/04/2020" as string and i want
Get all the scores from all widgets
I am building a quiz app and i created a custom widget to save me a lot of time as i have a lot of questions for the quiz. everything works apart
How to check if Flutter app in running in webview
I have built a web app in flutter and i want to check where the app is running. my app runs in the normal browser, in microsoft teams and in a
Flutter Web App: Twitter feed like layout
I'm new to flutter and i am working on a web app (not a phone app). i'm trying to create a layout similar to twitter on the computer (not
Circular background of flutter widget as progressbar
This is antika. i have started learning to code since a few days back, and am only familiar with html/css/js, and basics of
How to display the first element in array with for loop
I am looping through an array i.e 'companies' using the for loop. i want to display the first element in this array using 'for loop' without
Ad
Is there a way to make a dropdownlist inside a TabBar in Flutter?
I'm trying to add a dropdownlist inside a tabbar items so the user can select the dropdown item before the tabbarwiew changes the widget. i tried
How to upload large files in flutter web?
There is already a great thread about how to pick files:
run flutter application with firebase backend in web browser
I have this problem since week, i tried everything in web, but still same problem, here is index.html with firebase configration
Flutter, Web, navigation 2.0 browser back button
I found about 10 project of the navigation 2.0 flutter web sample project through a hard searching. and it seems that all web components
Need A Intent-Filter that runs my app when I click on a Buttom in Main Website
Ok. here is my scenario: somehow i open a payment gateway from my android app. (so far so
Issue with screen resize using Flame Engine
I am trying to embed a small game using flame engine directly in my flutter website. i have managed to created a container containing the
Flutter web-hosted app doesn't recognize external functions
I'm hosting a web made on flutter on github pages and i'm using dart-js
Is there a way to run a flutter app on web when the app uses a plugin which is not developed for web
I am using firebase_dynamic_links in my app and i wish to deploy the app on the web. firebase_dynamic_links is not
Flutter web, hide splash screen after flutter web loaded
As flutter web boots up, it may take a few seconds to boot and start to render home page. hence i add an spinner in index.html to
setState() called after dispose() causing error inside SpinKit package in flutter
In the given code i added a webview in which i'm trying to load a package called
Flutter unselect text on click
I am using selectabletext widget in my website. when i select a text with my mouse, the only way to unselect it is to click on the
Ad
is it possible to use firebase admin SDK in flutter web apps?
I am using flutter web and firebase authentication. i want to use firebase admin sdk to manage users from my flutter web application. is it
how to search from data in api [flutter]
Im currently trying to list a bunch of quotes from an api. that list would have a search delegate to filter the user's choices; however, the
Error: Unsupported operation: Platform._localeName
I am using dart.io package and trying to detect the current locate of the system using platform.localename like this
How to pop dialog in Flutter if internet connection goes off suddenly?
What i'm trying to implement is something like this, showdialog(); await firebasefunction(); await apifunction(); hidedialog();
flutter_riverpod 1.0.0 prevents app from running in Chrome in debug mode
Hi ran into this issue when i upgraded to flutter_riverpod 1.0.0 then saw this issue raised in the riverpod repo
Throwing an error while clicking on DropdownButtonFormField
I am trying to use dropdownbuttonformfield in tab controller with tab viewer on flutter web. it is showing but not showing dropdown options on
Fullscreen details overlay with beamer location
Disclaimer: i'm a flutter beginner building a web only project!. i have a screen which contains a set of items. once one of those items is
I want to add different images each time, I reuses this Card.How to do that without copy pasting the whole Code
Class owncard extends statelesswidget { const owncard({ key? key, }) : super(key: key); @override widget build(buildcontext
How to use HookWidget with useTextEditingController
I'm new to flutter development and trying to understand riverpod. i currently managed to make the following login form work with a
Can't run flutter web project in Release or Profile (Cannot read properties of null (reading 'isAsync'))
Can't run flutter project in release or profile. in debug it runs normally without any issue but in other cases i'm getting these error in
Ad
upload file in flutter web by file_picker
I use file_picker: ^4.2.0 show package for my
Flutter Web : "Should never encounter KeyData when transitMode is rawKeyData."
When i run my project on web the exception message and stack trace was "should never encounter keydata when transitmode is
My Navigation Drawer just doesn't works. I have created the screens and gone through a lot of examples
My drawer is not navigating to other screens. i don't know why, i have gone through a lot of stackoverflow solutions. i have created routes also
The argument type 'AnimationController?' can't be assigned to the parameter type 'Animation<double>'
I am new to flutter. so i am trying to use curved animations in flutter but it gives me a type error as mentioned in the title. i have
flutter)How can I make the button position automatically adjust according to the screen size?
I'm making a learning app with flutter. in our app, you have to put a button over the picture. so, using positioned on the picture,
How to connect LD player in vs code?
I installed the ld player in windows and vs code device is not detecting the ld player. note: i already changed adb debugging settings in ld
How to Delete duplicate items from a List Dart | Flutter
I have a set of items. from this i want to delete all duplicate values. i tried this finallist = [...{...users!}]; and this
How do I refresh the current route when arguments change?
I'm using auto_route with some arguments as url parameters. if i push
GoogleFont-Weight issue on copyWith
I'm creating a text-style model and using getter to have the text-style that use
How to sort a List of items based on dateTime in Flutter | Flutter
I have list of products with product name and date. i want to sort that list of items based on date and time. this is the list of items that i
I have a data table where I need to add datarows based on text input
I have written a hard-coded 50 rows. now i need to optimize the code. as per the expected output, the first row should have a text input
Ad
Flutter web app: Load prefs for theme efficiently
I have a dark/light theme toggle option on my web app. i'm using shared preferences to persist the theme selection. i'm trying to keep the main ui
Giving a fixed width and height to a container vs providing constraints via a BoxConstraints class
In the container widget in flutter, what is the difference between giving it a fixed height and
Snapshot returns Null
I have this custom data model named "servicemodel" as below: class servicemodel { int status; string
why text change listener function called multiple time without text change
I have textformfield with a text change listener attached to it. but listener function called even when i click on the text field and
When I view a page that contains YoutubePlayerController, the next page stops working
Problem the widget on the next page after loading youtubeplayeriframe will not work. for example, suppose you i have a and b
Issue in custom flutter search widget's search results selection - flutter web
I build a simple search widget for flutter web. everything working fine but after i got the search results, i have to click twice on the result to
Converting Html.File to Uint8List in flutter
I am using drop zone flutter package. it returns
In TextField( ) why we use " onSubmitted : " syntax?
Why do you use onsubmitted: option in textfield(), i wanted to make textfield than the option onsubmited came and i
MaterialApp as ancestor of MediaQuery widget. But how?
I am trying to make three different layouts according to the width of the window/screen. i get the error "no mediaquery widget ancestor
Flutter Web Page Routing Issue
I need web app with base url as https://example.com/mojjo-test/index.html#/ i updated my base url as documented
The argument type 'void Function(Map<String, bool>)' can't be assigned to the parameter type 'Map<String, bool>'
I'm trying to send the filter to the filter screen but getting an error. the argument type 'void function(map<string,
Ad
Why is Animation Tween always running from 0.0 to 1.0?
I want to make an animation in flutter using late animationcontroller controller1; late animation<double> animation1;
Want to add multiple items on the same line in Flutter
In the following code, all items are displayed on a separate line i.e. each item spans over the entire row. how can i change the code so that
Ad
Blog Categories
Ad