Deploy @checked (#6244)

This patch adds `@checked` everywhere is needed to remove the
`strong_mode_invalid_method_override` strong mode error.
This commit is contained in:
Adam Barth
2016-10-07 11:27:54 -07:00
committed by GitHub
parent 8c8be6b5df
commit 2c21d795a4
31 changed files with 91 additions and 56 deletions

View File

@@ -3,8 +3,10 @@
// found in the LICENSE file.
import 'package:markdown/markdown.dart' as md;
import 'package:meta/meta.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter/gestures.dart';
import 'markdown_style_raw.dart';
typedef void MarkdownLinkCallback(String href);
@@ -65,7 +67,7 @@ class MarkdownRaw extends StatelessWidget {
MarkdownBodyRaw createMarkdownBody({
String data,
MarkdownStyleRaw markdownStyle,
@checked MarkdownStyleRaw markdownStyle,
SyntaxHighlighter syntaxHighlighter,
MarkdownLinkCallback onTapLink
}) {