Alex Li

Results 711 comments of Alex Li

https://github.com/golang/go/blob/de5b418bea70aaf27de1f47e9b5813940d1e15a4/src/net/http/server.go#L148-L153 ```go // The provided code must be a valid HTTP 1xx-5xx status code. // Any number of 1xx headers may be written, followed by at most // one 2xx-5xx...

> Good idea but how would you remove smart_auth from Pinput without messing up developer's day :D? Probably go with a new package `flutter_pinput`. It's not occupied yet. :)

> WDYT? I haven't looked into the implementation, but the idea looks great overall. Some bonus points might be using the `interface` class modifiers if you've already limited the lower...

This seems to have been implemented in v5.0.0. Cheers! https://github.com/Tkko/Flutter_PinPut/blob/master/MIGRATION.md#migration-to-500

More cases that my friend reported to me 6 months ago, https://github.com/iota9star/mikan_flutter/blob/ae591e1de035f6b845acb11b2e00b634d85b9c2a/lib/internal/http_cache_manager.dart#L46 : ```dart final Completer completer = Completer(); _httpCacheManager ._( url, cacheKey: cacheKey, cacheDir: cacheDir, headers: headers, chunkEvents: chunkEvents,...

> Another option is to write the binstub (what is currently a batch file) in Dart (instead of batch) and compile that to an exe. This would work pretty well...

Awesome! So a PS `call` (like `call xxx` in batch) might be a better solution (don't have Windows currently so I cannot test if it's valid). WDYT?

I've created a custom dark mode where some of the styles are learned from https://api.flutter.dev. Would like to submit a pull request if capable. > UserStyles: https://userstyles.world/style/15821/pub-dev-dark-mode > Gist: https://gist.github.com/AlexV525/57b3514e9412f2a481d858c629a459dc...

I'm adding callout support for the package at https://github.com/dart-lang/markdown/pull/570. Once it's ready we could use expand with our styles. Or I can make that support directly into this repo too.