mc_gallery/doc/api/features_core_widgets_gap/AnimatedGap-class.html

429 lines
20 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
<meta name="description" content="API docs for the AnimatedGap class from the gap library, for the Dart programming language.">
<title>AnimatedGap class - gap library - Dart API</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="../static-assets/github.css?v1">
<link rel="stylesheet" href="../static-assets/styles.css?v1">
<link rel="icon" href="../static-assets/favicon.png?v1">
</head>
<body data-base-href="../" data-using-base-href="false">
<div id="overlay-under-drawer"></div>
<header id="title">
<button id="sidenav-left-toggle" type="button">&nbsp;</button>
<ol class="breadcrumbs gt-separated dark hidden-xs">
<li><a href="../index.html">mc_gallery</a></li>
<li><a href="../features_core_widgets_gap/features_core_widgets_gap-library.html">gap</a></li>
<li class="self-crumb">AnimatedGap class</li>
</ol>
<div class="self-name">AnimatedGap</div>
<form class="search navbar-right" role="search">
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>
<main>
<div id="dartdoc-main-content" class="main-content">
<div>
<h1><span class="kind-class">AnimatedGap</span> class
<a href="https://dart.dev/null-safety" class="feature feature-null-safety" title="Supports the null safety language feature.">Null safety</a>
</h1></div>
<section>
<dl class="dl-horizontal">
<dt>Inheritance</dt>
<dd>
<ul class="gt-separated dark clazz-relationships">
<li><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></li>
<li><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree-class.html">DiagnosticableTree</a></li>
<li><a href="https://api.flutter.dev/flutter/widgets/Widget-class.html">Widget</a></li>
<li><a href="https://api.flutter.dev/flutter/widgets/StatefulWidget-class.html">StatefulWidget</a></li>
<li>AnimatedGap</li>
</ul>
</dd>
</dl>
</section>
<section class="summary offset-anchor" id="constructors">
<h2>Constructors</h2>
<dl class="constructor-summary-list">
<dt id="AnimatedGap" class="callable">
<span class="name"><a href="../features_core_widgets_gap/AnimatedGap/AnimatedGap.html">AnimatedGap</a></span><span class="signature">(<span class="parameter" id="-param-gap"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span> <span class="parameter-name">gap</span>, </span><span class="parameter" id="-param-key">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/Key-class.html">Key</a>?</span> <span class="parameter-name">key</span>, </span><span class="parameter" id="-param-duration"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Duration-class.html">Duration</a></span> <span class="parameter-name">duration</span> = <span class="default-value">const Duration(milliseconds: 200)</span>, </span><span class="parameter" id="-param-curve"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/animation/Curve-class.html">Curve</a></span> <span class="parameter-name">curve</span> = <span class="default-value">Curves.easeInOut</span>}</span>)</span>
</dt>
<dd>
<div class="constructor-modifier features">const</div>
</dd>
</dl>
</section>
<section class="summary offset-anchor" id="instance-properties">
<h2>Properties</h2>
<dl class="properties">
<dt id="curve" class="property">
<span class="name"><a href="../features_core_widgets_gap/AnimatedGap/curve.html">curve</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/animation/Curve-class.html">Curve</a></span>
</dt>
<dd>
<div class="features">final</div>
</dd>
<dt id="duration" class="property">
<span class="name"><a href="../features_core_widgets_gap/AnimatedGap/duration.html">duration</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Duration-class.html">Duration</a></span>
</dt>
<dd>
<div class="features">final</div>
</dd>
<dt id="gap" class="property">
<span class="name"><a href="../features_core_widgets_gap/AnimatedGap/gap.html">gap</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/double-class.html">double</a></span>
</dt>
<dd>
<div class="features">final</div>
</dd>
<dt id="hashCode" class="property inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
</dt>
<dd class="inherited">
The hash code for this object.
<div class="features">@<a href="https://pub.dev/documentation/meta/1.8.0/meta/nonVirtual-constant.html">nonVirtual</a>, read-only, inherited</div>
</dd>
<dt id="key" class="property inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/foundation/Key-class.html">Key</a>?</span>
</dt>
<dd class="inherited">
Controls how one widget replaces another widget in the tree.
<div class="features">final, inherited</div>
</dd>
<dt id="runtimeType" class="property inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
<span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
</dt>
<dd class="inherited">
A representation of the runtime type of the object.
<div class="features">read-only, inherited</div>
</dd>
</dl>
</section>
<section
class="summary offset-anchor"
id="instance-methods">
<h2>Methods</h2>
<dl class="callables">
<dt id="createElement" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html">createElement</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/StatefulElement-class.html">StatefulElement</a></span>
</span>
</dt>
<dd class="inherited">
Creates a <a href="https://api.flutter.dev/flutter/widgets/StatefulElement-class.html">StatefulElement</a> to manage this widget's location in the tree.
<div class="features">inherited</div>
</dd>
<dt id="createState" class="callable">
<span class="name"><a href="../features_core_widgets_gap/AnimatedGap/createState.html">createState</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/widgets/State-class.html">State</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../features_core_widgets_gap/AnimatedGap-class.html">AnimatedGap</a></span>&gt;</span></span>
</span>
</dt>
<dd>
Creates the mutable state for this widget at a given location in the tree.
<div class="features">override</div>
</dd>
<dt id="debugDescribeChildren" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a></span>&gt;</span></span>
</span>
</dt>
<dd class="inherited">
Returns a list of <code>DiagnosticsNode</code> objects describing this node's
children.
<div class="features">@<a href="https://pub.dev/documentation/meta/1.8.0/meta/protected-constant.html">protected</a>, inherited</div>
</dd>
<dt id="debugFillProperties" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">debugFillProperties</a></span><span class="signature">(<wbr><span class="parameter" id="debugFillProperties-param-properties"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticPropertiesBuilder-class.html">DiagnosticPropertiesBuilder</a></span> <span class="parameter-name">properties</span></span>)
<span class="returntype parameter">&#8594; void</span>
</span>
</dt>
<dd class="inherited">
Add additional properties associated with the node.
<div class="features">inherited</div>
</dd>
<dt id="noSuchMethod" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
<span class="returntype parameter">&#8594; dynamic</span>
</span>
</dt>
<dd class="inherited">
Invoked when a non-existent method or property is accessed.
<div class="features">inherited</div>
</dd>
<dt id="toDiagnosticsNode" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">toDiagnosticsNode</a></span><span class="signature">(<wbr><span class="parameter" id="toDiagnosticsNode-param-name">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">name</span>, </span><span class="parameter" id="toDiagnosticsNode-param-style"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticsTreeStyle.html">DiagnosticsTreeStyle</a>?</span> <span class="parameter-name">style</span>}</span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode-class.html">DiagnosticsNode</a></span>
</span>
</dt>
<dd class="inherited">
Returns a debug representation of the object that is used by debugging
tools and by <a href="https://api.flutter.dev/flutter/foundation/DiagnosticsNode/toStringDeep.html">DiagnosticsNode.toStringDeep</a>.
<div class="features">inherited</div>
</dd>
<dt id="toString" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html">toString</a></span><span class="signature">(<wbr><span class="parameter" id="toString-param-minLevel">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.info</span>}</span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
</span>
</dt>
<dd class="inherited">
A string representation of this object.
<div class="features">inherited</div>
</dd>
<dt id="toStringDeep" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">toStringDeep</a></span><span class="signature">(<wbr><span class="parameter" id="toStringDeep-param-prefixLineOne">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">prefixLineOne</span> = <span class="default-value">&#39;&#39;</span>, </span><span class="parameter" id="toStringDeep-param-prefixOtherLines"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a>?</span> <span class="parameter-name">prefixOtherLines</span>, </span><span class="parameter" id="toStringDeep-param-minLevel"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.debug</span>}</span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
</span>
</dt>
<dd class="inherited">
Returns a string representation of this node and its descendants.
<div class="features">inherited</div>
</dd>
<dt id="toStringShallow" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">toStringShallow</a></span><span class="signature">(<wbr><span class="parameter" id="toStringShallow-param-joiner">{<span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">joiner</span> = <span class="default-value">&#39;, &#39;</span>, </span><span class="parameter" id="toStringShallow-param-minLevel"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticLevel.html">DiagnosticLevel</a></span> <span class="parameter-name">minLevel</span> = <span class="default-value">DiagnosticLevel.debug</span>}</span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
</span>
</dt>
<dd class="inherited">
Returns a one-line detailed description of the object.
<div class="features">inherited</div>
</dd>
<dt id="toStringShort" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></span><span class="signature">(<wbr>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
</span>
</dt>
<dd class="inherited">
A short, textual description of this widget.
<div class="features">inherited</div>
</dd>
</dl>
</section>
<section
class="summary offset-anchor inherited"
id="operators">
<h2>Operators</h2>
<dl class="callables">
<dt id="operator ==" class="callable inherited">
<span class="name"><a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
<span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
</span>
</dt>
<dd class="inherited">
The equality operator.
<div class="features">@<a href="https://pub.dev/documentation/meta/1.8.0/meta/nonVirtual-constant.html">nonVirtual</a>, inherited</div>
</dd>
</dl>
</section>
</div> <!-- /.main-content -->
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
<header id="header-search-sidebar" class="hidden-l">
<form class="search-sidebar" role="search">
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
</form>
</header>
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
<li><a href="../index.html">mc_gallery</a></li>
<li><a href="../features_core_widgets_gap/features_core_widgets_gap-library.html">gap</a></li>
<li class="self-crumb">AnimatedGap class</li>
</ol>
<h5>gap library</h5>
<ol>
<li class="section-title"><a href="../features_core_widgets_gap/features_core_widgets_gap-library.html#classes">Classes</a></li>
<li><a href="../features_core_widgets_gap/AnimatedGap-class.html">AnimatedGap</a></li>
<li><a href="../features_core_widgets_gap/AnimatedSliverGap-class.html">AnimatedSliverGap</a></li>
<li><a href="../features_core_widgets_gap/Gap-class.html">Gap</a></li>
<li><a href="../features_core_widgets_gap/RenderGap-class.html">RenderGap</a></li>
<li><a href="../features_core_widgets_gap/RenderSliverGap-class.html">RenderSliverGap</a></li>
<li><a href="../features_core_widgets_gap/SliverGap-class.html">SliverGap</a></li>
</ol>
</div>
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
<ol>
<li class="section-title"><a href="../features_core_widgets_gap/AnimatedGap-class.html#constructors">Constructors</a></li>
<li><a href="../features_core_widgets_gap/AnimatedGap/AnimatedGap.html">AnimatedGap</a></li>
<li class="section-title">
<a href="../features_core_widgets_gap/AnimatedGap-class.html#instance-properties">Properties</a>
</li>
<li><a href="../features_core_widgets_gap/AnimatedGap/curve.html">curve</a></li>
<li><a href="../features_core_widgets_gap/AnimatedGap/duration.html">duration</a></li>
<li><a href="../features_core_widgets_gap/AnimatedGap/gap.html">gap</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/hashCode.html">hashCode</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/key.html">key</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></li>
<li class="section-title"><a href="../features_core_widgets_gap/AnimatedGap-class.html#instance-methods">Methods</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/StatefulWidget/createElement.html">createElement</a></li>
<li><a href="../features_core_widgets_gap/AnimatedGap/createState.html">createState</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/debugDescribeChildren.html">debugDescribeChildren</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/debugFillProperties.html">debugFillProperties</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toDiagnosticsNode.html">toDiagnosticsNode</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/Diagnosticable/toString.html">toString</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringDeep.html">toStringDeep</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/foundation/DiagnosticableTree/toStringShallow.html">toStringShallow</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/toStringShort.html">toStringShort</a></li>
<li class="section-title inherited"><a href="../features_core_widgets_gap/AnimatedGap-class.html#operators">Operators</a></li>
<li class="inherited"><a href="https://api.flutter.dev/flutter/widgets/Widget/operator_equals.html">operator ==</a></li>
</ol>
</div><!--/.sidebar-offcanvas-->
</main>
<footer>
<span class="no-break">
mc_gallery
1.0.0+1
</span>
</footer>
<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>
</body>
</html>