MH Johnson
MH Johnson
Thanks for filing this. For now, our advice is to prefer using the first column's technique when you're writing one-off text styles. The reason you're seeing what you're seeing is...
Thanks for the feedback everyone, right now we do not have concrete plans for adjusting the API on this. Again, the problem is that we need to know the font...
This is a good idea, I've been frustrated by that before too, never thought to split out the generated code. I feel like we could split it out by number,...
Now that I think about it, I'm not sure how that would work with the `GoogleFonts.foo` API, because if the methods are in separate files, they can't all be inside...
Can you share a reproducible example? I tried with the following demo code, and it seems to work as expected for me. ```dart import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; void...
Ah ok, I was able to reproduce the bug as you defined it above. It's oddly specific. It _only_ occurs for this font (as far as I've found), and it...
This seems to be a bug in the `FontLoader`. It only happens with this specific font, and only on Android, and only when used with the `FontLoader`. I've filed https://github.com/flutter/flutter/issues/49239...
This would be especially nice in collections: ```dart const supportedDirections = {.north, .east, .west}; bool isSupported = supportedDirections.containsAll({.north, .east}); ``` It's worth noting too that we would only allow it...
@lrhn > Alternatively, we could only allow the short syntax when there is a useful context type. If we're taking votes, I vote this ☝️ Regarding the case with `if...
@RedBrogdon Totally agreed. This particular feature is essentially crossing the threshold between "live snippet sharing tool" to "web-based IDE". Both are valuable products, but it's a huge product decision that...