Unverified Commit bd9c900f authored by Emily Fortuna's avatar Emily Fortuna Committed by GitHub

Added some Widgets of the Week Videos to documentation (#34758)

* Added some Widgets of the Week to documentation: AspectRatio and AnimatedIcon.
parent 71b9d461
......@@ -16,6 +16,8 @@ part of material_animated_icons;
///
/// The available icons are specified in [AnimatedIcons].
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=pJcbh8pbvJs}
///
/// {@tool sample}
///
/// ```dart
......
......@@ -2604,6 +2604,8 @@ class _OffstageElement extends SingleChildRenderObjectElement {
/// constraints. The height of the widget is determined by applying the
/// given aspect ratio to the width, expressed as a ratio of width to height.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=XcnP3_mO_Ms}
///
/// For example, a 16:9 width:height aspect ratio would have a value of
/// 16.0/9.0. If the maximum width is infinite, the initial width is determined
/// by applying the aspect ratio to the maximum height.
......
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