完成空安全转换

This commit is contained in:
toly
2021-08-29 11:29:45 +08:00
parent 8a5a57f5ac
commit 5806f35f54
319 changed files with 2638 additions and 2019 deletions

View File

@@ -10,13 +10,13 @@ import 'high_light_code.dart';
import 'highlighter_style.dart';
class CodeWidget extends StatelessWidget {
CodeWidget({Key key, @required this.code, this.style, this.fontSize = 13,this.fontFamily})
CodeWidget({Key? key, required this.code,required this.style, this.fontSize = 13,this.fontFamily})
: super(key: key);
final String code;
final HighlighterStyle style;
final double fontSize;
final String fontFamily;
final String? fontFamily;
@override
Widget build(BuildContext context) {