diff --git a/packages/flutter/lib/src/material/card.dart b/packages/flutter/lib/src/material/card.dart index eb81f820f2..0f54fbabb3 100644 --- a/packages/flutter/lib/src/material/card.dart +++ b/packages/flutter/lib/src/material/card.dart @@ -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: /// diff --git a/packages/flutter/lib/src/material/ink_well.dart b/packages/flutter/lib/src/material/ink_well.dart index 1e954d4b4d..6026c677d0 100644 --- a/packages/flutter/lib/src/material/ink_well.dart +++ b/packages/flutter/lib/src/material/ink_well.dart @@ -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 extends State { /// 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]: