Benjamin

Results 46 comments of Benjamin

Right now my workaround (if you have toJson enabled) is to convert it to a json map and put the value of the `unionKey` in . It would be really...

There should be one for phone numbers with country codes.

> Number field (textfield where the user can only put digits, shows a digit-only keyboard) @netantho This should work for you. ```dart child: TextFieldBlocBuilder( textFieldBloc: , keyboardType: TextInputType.number, inputFormatters: [WhitelistingTextInputFormatter.digitsOnly],...

The package saves the brightness when you change it and loads it on startup. Check out the example project, it works for me.

What about [didChangePlatformBrightness](https://api.flutter.dev/flutter/widgets/WidgetsBindingObserver/didChangePlatformBrightness.html) and [onPlatformBrightnessChanged](https://api.flutter.dev/flutter/dart-ui/Window/onPlatformBrightnessChanged.html)?

Sure, you can use `onPlatformBrightnessChanged` to get the most recent value.

Okay so if I understand this correctly, the `PlatformBrightness` widget gets placed somewhere and provides the brightness. Right now, I'm thinking of apps like Gmail that let you choose between...

I forked the repo and added your changes to it. I also added to the example. I think I'm doing it wrong but your builder always returned `Brightness.light`. It would...

I'm running an emulator w/ Android 10 and changing the theme to dark mode.

Can I see your code?