Arnab Deka

Results 26 comments of Arnab Deka

On a somewhat related note, I see that `CupertinoTextField` supports `keyboardAppearance` - which can be used to specify the keyboard light/dark mode: https://github.com/flutter/flutter/blob/18071ec0a87c281edffa0179228560dfe1f6f357/packages/flutter/lib/src/cupertino/text_field.dart#L225 (this support was added in https://github.com/flutter/flutter/pull/19244/). But...

Ah interesting! Thanks @huycozy ! I am using [flex_color_scheme](https://pub.dev/packages/flex_color_scheme) too, so it could be a combination of that. Although I have not changed the version of it recently. I will...

It looks like this method: https://github.com/flutter/flutter/blob/18071ec0a87c281edffa0179228560dfe1f6f357/packages/flutter/lib/src/cupertino/theme.dart#L92C1-L96C1 is returning `light` (even if the system brightness is set to dark). So based on that, I have found a workaround: as suggested in...

Specifically, it looks like `MediaQuery.platformBrightnessOf(context)` is defaulting to `light`: - https://github.com/flutter/flutter/blob/18071ec0a87c281edffa0179228560dfe1f6f357/packages/flutter/lib/src/cupertino/theme.dart#L92C1-L96C1 - https://github.com/flutter/flutter/blob/18071ec0a87c281edffa0179228560dfe1f6f357/packages/flutter/lib/src/widgets/media_query.dart#L1376

Hi @huycozy - I haven't had time to work on a repro. Also I added the workaround ([mentioned here](https://github.com/flutter/flutter/issues/158439#issuecomment-2468816900)). If others are not seeing this issue, perhaps we can close...

I have the same question. Opening up my Ollama server to the world seems like a bad idea. I am on my Mac, and what I want to do is:...