Comments (5)
Started working on this at https://github.com/bdlukaa/fluent_ui/tree/navigation
from fluent_ui.
This rework will be done once windows gets stable. The window's top bar needs to be customized, and depending on third party projects, such as bitsdojo_window, is not a viable option, because fluent_ui is supopsed to run on other platforms too.
Learn more:
- Support for UWP: flutter/flutter#14967
from fluent_ui.
So here's my progress on the navigation branch:
I made the whole navigation implementation again from scratch. I removed the Scaffold
widget and implemented ScaffoldPage
. Implemented NavigationView
, that has:
- Open, Compact and Top Navigation.
Minimal
pane is still missing. - App Top Bar, with back button and option to implement window close buttons
- Automatic Display Mode working
Here's what's missing:
- Implement
Scrollbar
onOpen
andCompact
modes. - Add the
More
pane button on theTop
display mode. - Open
Minimal
pane when the button is tapped. - Change between
Open
andCompact
mode when the button is tapped - Selected indicators
from fluent_ui.
More progress on it:
- Implemented a scrollbar on open, compact and minimal display mode
- Open the minimal pane when the button is tapped
- Change between open and compact mode when the button is tapped
from fluent_ui.
More issues found:
- The scrollbar is throwing an error:
The following assertion was thrown during a scheduler callback:
The provided ScrollController is currently attached to more than one ScrollPosition.
The Scrollbar requires a single ScrollPosition in order to be painted.
When Scrollbar.isAlwaysShown is true, the associated Scrollable widgets must have unique ScrollControllers. The PrimaryScrollController is used by default for ScrollViews with an Axis.vertical ScrollDirection, unless the ScrollView has been provided its own ScrollController. More than one Scrollable may have tried to use the PrimaryScrollController of the current context.
When the exception was thrown, this was the stack
#0 RawScrollbarState._maybeTriggerScrollbar.<anonymous closure>.<anonymous closure>
package:flutter/…/widgets/scrollbar.dart:990
#1 RawScrollbarState._maybeTriggerScrollbar.<anonymous closure>
package:flutter/…/widgets/scrollbar.dart:1014
- If the navigation view does not have a top bar, the navigation selected indicator is rendered incorrectly
from fluent_ui.
Related Issues (20)
- 🐛 FlyoutPlacement.full doesn't stretch the Flyout to fill the whole window
- Problems positioning a CommandBar HOT 2
- Change width of ProgressBar? HOT 1
- 🐛 DatePicker startYear and endYear doesn't work as expected
- 🐛 Long and short snackbar duration are equal
- 🐛 Left arrow key doesn't work on collapsed TreeViewItem
- 🐛 Can't use the left arrow key to move the cursor in a TextBox inside a TreeViewItem
- 🐛 AcrylicState - setState() called after dispose()
- Snackbar manually dismiss error HOT 1
- flutter_wrapper_app.lib(flutter_engine.obj) : error LNK2019 HOT 1
- Disable Scrolling for left NavigationPane
- Add borderRadius parameter for CommandBarCard
- 🐛 CommandBar inside PageHeader makes layout crash HOT 1
- Add border parameter for Card widget HOT 2
- Using FluentUi with Binding in GetX HOT 1
- 🐛 error in beta flutter version HOT 1
- 🐛 TextBox focus behavior inside Tab HOT 2
- Solution for NavigationView to keep-alive tabs? HOT 7
- 🐛 [FlyoutListTile] in 4.1.1 throws "Null check operator used on a null value" HOT 4
- Some widgets don't inherit `fontFamily` from FluentTheme.fontFamily HOT 4
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 fluent_ui.