From 2334a9b6b0cbe42f2fe988322f8e5d348787d9e6 Mon Sep 17 00:00:00 2001 From: creativecreatorormaybenot Date: Fri, 10 Sep 2021 00:47:04 +0000 Subject: [PATCH] Add all cubics to Cubic class doc (#89076) --- .../flutter/lib/src/animation/curves.dart | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/packages/flutter/lib/src/animation/curves.dart b/packages/flutter/lib/src/animation/curves.dart index 730e09b1d1..775af04c08 100644 --- a/packages/flutter/lib/src/animation/curves.dart +++ b/packages/flutter/lib/src/animation/curves.dart @@ -222,15 +222,73 @@ class Threshold extends Curve { /// /// The [Curves] class contains some commonly used cubic curves: /// +/// * [Curves.fastLinearToSlowEaseIn] /// * [Curves.ease] /// * [Curves.easeIn] +/// * [Curves.easeInToLinear] +/// * [Curves.easeInSine] +/// * [Curves.easeInQuad] +/// * [Curves.easeInCubic] +/// * [Curves.easeInQuart] +/// * [Curves.easeInQuint] +/// * [Curves.easeInExpo] +/// * [Curves.easeInCirc] +/// * [Curves.easeInBack] /// * [Curves.easeOut] +/// * [Curves.linearToEaseOut] +/// * [Curves.easeOutSine] +/// * [Curves.easeOutQuad] +/// * [Curves.easeOutCubic] +/// * [Curves.easeOutQuart] +/// * [Curves.easeOutQuint] +/// * [Curves.easeOutExpo] +/// * [Curves.easeOutCirc] +/// * [Curves.easeOutBack] /// * [Curves.easeInOut] +/// * [Curves.easeInOutSine] +/// * [Curves.easeInOutQuad] +/// * [Curves.easeInOutCubic] +/// * [Curves.easeInOutQuart] +/// * [Curves.easeInOutQuint] +/// * [Curves.easeInOutExpo] +/// * [Curves.easeInOutCirc] +/// * [Curves.easeInOutBack] +/// * [Curves.fastOutSlowIn] +/// * [Curves.slowMiddle] /// +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_fast_linear_to_slow_ease_in.mp4} /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease.mp4} /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_to_linear.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_sine.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_quad.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_cubic.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_quart.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_quint.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_expo.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_circ.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_back.mp4} /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_linear_to_ease_out.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_sine.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_quad.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_cubic.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_quart.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_quint.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_expo.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_circ.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_out_back.mp4} /// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_sine.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_quad.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_cubic.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_quart.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_quint.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_expo.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_circ.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_ease_in_out_back.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_fast_out_slow_in.mp4} +/// {@animation 464 192 https://flutter.github.io/assets-for-api-docs/assets/animation/curve_slow_middle.mp4} /// /// The [Cubic] class implements third-order Bézier curves. ///