Comments (11)
@WieFel Let me know your views.
Self-assign it to yourself if you are interested in working on this!
from backdrop.
I will be working on this in the next time!
from backdrop.
@WieFel Your suggestions look ok to start with.
from backdrop.
Moved from: https://gitlab.com/daadu/backdrop/-/issues/13
from backdrop.
I did some brainstorming and came up with the following:
My idea would be to implement the demo app using a side drawer from where the different use-cases can be opened:
The app opens with one default use-case already on the main screen. The action bar has two buttons, one for switching to the preview of the use-case and one for showing the source code. Another idea would be to use tabs instead of the two action-buttons...
I think implementing it exactly like the Flutter Gallery would be a bit too much. Actually they exactly use backdrop to switch between preview and source code. But I think it would be strange to use backdrop for that in our case, because backdrop already appears within the actual use-cases.
For the preview of the use-cases the following package could be used: https://pub.dev/packages/device_frame. This way, one could distinguish between the app bar of the demo app and the app bar of the use-case that is being previewed. However, I don't know if this is a good idea in the web-version of the demo app.
@daadu What do you think? Any other suggestions before I start to implement this?
from backdrop.
I was thinking of a MainPage
which List all the use cases. Upon clicking any one, we do Navigation.push
with FloatingActionButton
(which would not be in source code) on the DemoPage
to go back to MainPage
.
check the following layout of DemoPage
:
I think on full screen it is clear about how to toggle between source code, info. For Mobile we can showDialogue
for source code and info.
@WieFel Let me know if you have better idea.
from backdrop.
Instead of FloatingActionButton
AppBar - leading with back button (default) is also a good option.
Check the following:
I suggest we use same colour scheme as Gallery App. We could potentially make these feature as another independent package which enable other package developer/maintainer to publish GitHub pages show casing demo of their package. This new package could be taglined as - "Create Flutter Gallery like demo app for your package."
from backdrop.
@daadu ok LGTM, I will try to implement it as you described!
from backdrop.
@daadu Actually I have an idea:
What about forking the flutter gallery app and throwing out all not-needed stuff?
from backdrop.
@WieFel Go Ahead.
from backdrop.
@daadu in the end, taking the complete gallery app seems to be overkill.
So I only take the theme from it.
In terms of use cases, I found the following 4 here:
- Back layer provides contextual information about the front layer.
-> any simple idea here? @daadu - Back layer displays contextual controls that relate to the front layer.
-> e.g. back layer allows to set number of event participants for a participants-form filled out on the front layer and maybe some other controls. - Back layer content can be navigational, changing the content displayed on the front layer.
-> example app for navigation can be used and extended. e.g. for navigating between 3 different pages that show some content. - Back layer content can filter front layer content.
-> e.g. filter exemplary articles of an online shop by 2-3 different categories
@daadu any other suggestions/improvements?
from backdrop.
Related Issues (20)
- Merge example and demo project HOT 5
- Abstract out "backdrop core" from `BackdropScaffold`
- Add a shadow to the front layer
- Custom shape on the front layer HOT 7
- How to show back layer without scrim on front? HOT 5
- Slivers AppBar HOT 7
- cannot paste if backdrop is revealed HOT 6
- I can't get edge swipe to go back to work with BackdropScaffold. Any helpful tips? HOT 1
- flutter beta: SchedulerBinding is now null-safe HOT 2
- BoxShadow on front layer HOT 3
- Backdrop is not compiling after upgrading to Flutter 3.10 HOT 2
- En Flutter 3.10 no compila Por 2 Lineas en el Widget AppBar (brightness y textTheme), las cuales estan en desuso pero el compilador las toma en cuenta, eliminando esas 2 lines el paquete funciona perfectamente HOT 3
- Variable to know if back layer is expanded or collapsed HOT 1
- Manually opening Backdrop HOT 9
- Pressing Back button cause visible frontLayer HOT 10
- Reveal backlayer with natural gestures HOT 1
- Make a parameter out of front layer elevation HOT 6
- BackdropScaffold usage gif example needs an update! HOT 1
- Avoid SubHeader spawn on top of Front Layer HOT 2
- Use AppBar.SystemOverlayStyle instead of AppBar.Brightness HOT 2
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 backdrop.