Comments (7)
Unfortunately, that doesn't solve the problem.
To use scaffold you'll have to do: material.Scaffold(...)
To use any api, widget or Classes defined in the material Libraries you'll have to add a material.
(or the name used in importing the material Library) prefix before the concerned item.
You can try hiding the Colors
class api from being exposed by importing the material library this way:
import 'package:flutter/material.dart' hide Colors; import 'package: fluent_ui/fluent_ui.dart';
This will hide the Colors api from being exposed in the import. You can also use this same method to hide it from the fluent_ui package as well.
from fluent_ui.
Yes! I don't see why to use both libraries together, anyways.
Can this issue be closed?
from fluent_ui.
you're trying to import both fluent and material libraries. Please import only one.
If you need to import both, use:
import 'package:flutter/material.dart' as material;
import 'package: fluent_ui/fluent_ui.dart';
from fluent_ui.
Do you still see this issue?
from fluent_ui.
Unfortunately, that doesn't solve the problem.
from fluent_ui.
Yes, you can close it.
It's a great package. Thank you.
from fluent_ui.
thanks :)
from fluent_ui.
Related Issues (20)
- Plans for supporting Fluent 2? HOT 1
- π Menu child group shape
- π Menu child group acrylic
- π TreeView's 'There must be at least one item' assertion
- π Error when using `CommandBar.overflowBehavior` on the web HOT 2
- Replace for NavigationBody.builder HOT 1
- π `TreeViewItem` content overflow
- π The listtile widget dont center out leading or trailing widgets on mainAxis
- How to set AppBar for ScaffoldPage HOT 2
- π ProgressRing overflows its parent
- ComboBox doesn't work with enumπ HOT 1
- How to change size of `ProgressRing` ?
- ComboboxItem disabled property. HOT 1
- π Recase dependency HOT 4
- π The text selection should disappear if the text doesn't have the focus. HOT 1
- π Infobar blink on rebuild
- π HOT 7
- π Unhandled Exception: Failed assertion: line 168 pos 12: '_overlay != null': is not true. HOT 1
- Tests HOT 1
- π The `PaneItemExpander` doesn't work normal
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.