Skip to content

surfaceConitaner and surfaceContainerHighest do not change anything #264

@earlybirdsignals

Description

@earlybirdsignals

Hello All,

I am using flex_color_scheme: ^7.3.1 and trying to change my textformfield fill color. I checked the examples on website and surfaceContainerHighest is used to fill these widgets however in my code, surfaceContainer and it's versions do not effect any color. All white for all theme models. Using blueWhale currently.

I guess, I am missing sth but I could not find any solution.

Material App:

child: MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'XXXXXX',
        themeMode: ThemeMode.system,
        theme: FlexColorScheme.light(scheme: FlexScheme.outerSpace, useMaterial3: true).toTheme,
        darkTheme: FlexColorScheme.dark(scheme: FlexScheme.blueWhale, useMaterial3: true).toTheme,
        home: myWidget,
      ),

TextFormField: -> fillColor: Theme.of(context).colorScheme.surfaceContainerHighest,

Thank you for your support.

Ergün

Metadata

Metadata

Assignees

Labels

V7This issue concerns version 7 and will be addressed in itquestionThis issue is a usage question and will be moved to the Discussions section.works as expectedReported issue is not a bug, everything works as expected and designed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions