Amal Krishna
Amal Krishna
This page only includes how EF Core would configure TPH by default when conventions are relied upon. Information regarding its configuration and customization using the Fluent API is skipped. For...
The Dart implementation of the `Scheme` class's `darkFromCorePalette` method assigns an incorrect color tone to the `onErrorContainer` property: `palette.error.get(80)` instead of `palette.error.get(90)`. https://github.com/material-foundation/material-color-utilities/blob/45798afb18dbe09ce948b765b375f064099f944f/dart/lib/scheme/scheme.dart#L126C2-L142C49 It appears that there are plans to...
Earlier, given a `CorePalette`, the way to generate the Material color roles was to use `Scheme.lightFromCorePalette` and `Scheme.darkFromCorePalette`. Currently, since `Scheme` is deprecated in favor of `DynamicScheme`, what is the...
### Package dynamic_color ### Existing issue? - [X] I checked the [existing issues](https://github.com/material-foundation/flutter-packages/issues) ### What happened? ## Steps to reproduce: 1. Switch to the beta channel and upgrade Flutter using:...
The most common use case to lookup a `ThemeData` instance using `Theme.of(context)` is to access either the `ColorScheme`, the `TextTheme`, or both. Before this change: ```dart final colors = Theme.of(context).colorScheme;...
In the following code: ```dart final x = Column( mainAxisAlignment: y, children: [ SizedBox(), Expanded(child: Padding(padding: EdgeInsets.zero)), Placeholder(), ], ); ``` The analyzer suggests adding a `const` modifer before the...
### Package dynamic_color ### Existing issue? - [X] I checked the [existing issues](https://github.com/material-foundation/flutter-packages/issues) ### What happened? ## Expected vs actual result: 1. Material 3 has introduced [user-controlled color contrast](https://m3.material.io/styles/color/system/how-the-system-works#0207ef40-7f0d-4da8-9280-f062aa6b3e04) which...