Commit 767ab66c authored by Ian Hickson's avatar Ian Hickson Committed by GitHub

Fix dartdocs (#10361)

You can't have a newline between the `]` and the `(` in an image in markdown it turns out.
parent f50caddf
......@@ -48,8 +48,7 @@ import 'material.dart';
///
/// ![A card with a slight shadow, consisting of two rows, one with an icon and
/// some text describing a musical, and the other with buttons for buying
/// tickets or listening to the show.]
/// (https://flutter.github.io/assets-for-api-docs/material/card.png)
/// tickets or listening to the show.](https://flutter.github.io/assets-for-api-docs/material/card.png)
///
/// See also:
///
......
......@@ -28,17 +28,14 @@ import 'theme.dart';
/// small. The main thing to notice is that the splashes happily exceed the
/// bounds of the widget (because [containedInkWell] is false).
///
/// ![The highlight is a disc centered in the box, smaller than the child widget.]
/// (https://flutter.github.io/assets-for-api-docs/material/ink_response_large.png)
/// ![The highlight is a disc overflowing the box, centered on the child.]
/// (https://flutter.github.io/assets-for-api-docs/material/ink_response_small.png)
/// ![The highlight is a disc centered in the box, smaller than the child widget.](https://flutter.github.io/assets-for-api-docs/material/ink_response_large.png)
/// ![The highlight is a disc overflowing the box, centered on the child.](https://flutter.github.io/assets-for-api-docs/material/ink_response_small.png)
///
/// The following diagram shows the effect when the [InkResponse] has a
/// [highlightShape] of [BoxShape.rectangle] with [containedInkWell] set to
/// true. These are the values used by [InkWell].
///
/// ![The highlight is a rectangle the size of the box.]
/// (https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
/// ![The highlight is a rectangle the size of the box.](https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
///
/// Must have an ancestor [Material] widget in which to cause ink reactions.
///
......@@ -293,8 +290,7 @@ class _InkResponseState<T extends InkResponse> extends State<T> {
/// The following diagram shows how an [InkWell] looks when tapped, when using
/// default values.
///
/// ![The highlight is a rectangle the size of the box.]
/// (https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
/// ![The highlight is a rectangle the size of the box.](https://flutter.github.io/assets-for-api-docs/material/ink_well.png)
///
/// If a Widget uses this class directly, it should include the following line
/// at the top of its build function to call [debugCheckHasMaterial]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment