If you are using this already, consider changes soon due the discussion around current ESX proposal.
Feel free to keep an eye on udomsay as that will be the implementation reference for consumers.
If you are using this already, consider changes soon due the discussion around current ESX proposal.
Feel free to keep an eye on udomsay as that will be the implementation reference for consumers.
import 'package:flutter/material.dart'; | |
class StarDisplayWidget extends StatelessWidget { | |
final int value; | |
final Widget filledStar; | |
final Widget unfilledStar; | |
const StarDisplayWidget({ | |
Key key, | |
this.value = 0, |
class WrappingText extends StatelessWidget { | |
final String data; | |
final TextStyle style; | |
final TextAlign textAlign; | |
final TextDirection textDirection; | |
final Locale locale; | |
final bool softWrap; | |
final TextOverflow overflow; | |
final double textScaleFactor; | |
final int maxLines; |
/// Parses [input] as XML document. | |
/// It assumes that the document is well-formed. | |
/// CDATA sections and DTDs are not supported. | |
void parseXml( | |
String input, { | |
@required void Function(String name, Map<String, String> attributes) onStartTag, | |
@required void Function(String name) onEndTag, | |
@required void Function(String text) onText, | |
}) { | |
for (Match m in _tags.allMatches(input)) { |
import 'package:flutter/material.dart'; | |
import 'dart:math' as math; | |
import 'dart:async'; | |
void main() => runApp(new MyApp()); | |
class MyApp extends StatelessWidget { | |
// This widget is the root of your application. | |
@override | |
Widget build(BuildContext context) { |