Coder Social home page Coder Social logo

Comments (5)

FengChendian avatar FengChendian commented on June 26, 2024 1

Oh my god... I thought it was just a non-essential component about setting style. It works well after using FluentApp.

Maybe documention should emphasize using itπŸ˜‚
Thanks for help!

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

Are you using the FluentApp??

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

Oh my god... I thought it was just a non-essential component about setting style.

Almost every widget provided by this lib uses FluentTheme.of(context). There must be a FluentApp or a FluentTheme above all these widgets.

from fluent_ui.

ntwarijoshua avatar ntwarijoshua commented on June 26, 2024

@bdlukaa Am mixing Material with Fluent be able to use some of the components in fluent. i have wrapped them with FluentTheme. but i still get this error ```The following _CastError was thrown building _TooltipOverlay(dirty):
Null check operator used on a null value



This is the code

fluent.FluentTheme(
data: fluent.ThemeData(),
child: fluent.Localizations(
locale: const fluent.Locale.fromSubtags(languageCode: 'en'),
delegates: const [
fluent.DefaultFluentLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
],
child: SizedBox(
```

      Any ideas?

from fluent_ui.

bdlukaa avatar bdlukaa commented on June 26, 2024

@ntwarijoshua I need more info about your issue! What version are you using? Can you share a reproducible snippet?

from fluent_ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.