Comments (2)
By getting that value from the Scaffold's state I could provide very easy to use and more responsive implementation that does not require setup. Of course, I could pass current FAB location directly into the bottom app bar, but I would like to obtain this info without doing so, since it requires yet another state in your app to be properly managed or at least another place you need to put this info for your widget. On the other hand, Scaffold's state is already out there and may be utilized.
from flutter.
Hi @kacpmu, the ScaffoldState should not be needed to access the FloatingActionButtonLocation. By default it is FloatingActionButtonLocation.endFloat, otherwise it is whatever location you have provided to Scaffold.floatingActionButtonLocation. Is there a case that requires getting that value from the state of the Scaffold?
from flutter.
Related Issues (20)
- reorderable_list drag item to other target size is larger than scrollable size throws exception HOT 2
- [BUG] [WEB] Web Cache invalidation based on pubspec.yaml version HOT 4
- iOS: TextField can't input after pop back with a swipe gesture HOT 3
- Allow an embedded Flutter View on mobile to size itself
- Focus tab bug HOT 3
- [Impeller]: UI jitter occurs when running the app on the iOS simulator, after upgrading to flutter 3.22.1. HOT 1
- DropdownMenu Entries Not Positioned Correctly on Keyboard Appearance when `requestFocusOnTap` set to `true` HOT 1
- [flutter_markdown] _buildRichText on null value crash HOT 1
- mac-10 lost external connection phone device. HOT 1
- linux-40 is dead. HOT 1
- Wrapping IconButton with `Material` widget renders inconsistently on mobile and other platforms. HOT 2
- [pigeon] Documentation improvements HOT 5
- [infra] iPhone 11 is not available HOT 3
- [google_maps] warning on the web when adding a map id
- Overflow.ellipse does not show additional lines sometimes even when there is space.
- device_doctor should detect macOS devicelab bots with high disk usage and recover
- Manual quarantine: flutter-devicelab-30 HOT 1
- Release engine drone builds use an arbitrary recipe version HOT 1
- `Icon` needs `foreground` attribute
- canRequestFocus is a duplicate parameter on TextField
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.