Home
last modified time | relevance | path

Searched refs:minExtent (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dflexible_space_bar.dart94 /// appears. `minExtent` sets the minimum height of the resulting
107 double minExtent,
115 minExtent: minExtent ?? currentExtent,
162 final double deltaExtent = settings.maxExtent - settings.minExtent;
175 final double deltaExtent = settings.maxExtent - settings.minExtent;
179 …final double t = (1.0 - (settings.currentExtent - settings.minExtent) / deltaExtent).clamp(0.0, 1.…
264 /// The required [toolbarOpacity], [minExtent], [maxExtent], [currentExtent],
269 @required this.minExtent,
274 assert(minExtent != null && minExtent >= 0),
278 assert(minExtent <= maxExtent),
[all …]
Dapp_bar.dart720 double get minExtent => collapsedHeight ?? (topPadding + kToolbarHeight + _bottomHeight);
723 … maxExtent => math.max(topPadding + (expandedHeight ?? kToolbarHeight + _bottomHeight), minExtent);
748 minExtent: minExtent,
750 currentExtent: math.max(minExtent, maxExtent - shrinkOffset),
761 …rceElevated || overlapsContent || (pinned && shrinkOffset > maxExtent - minExtent) ? elevation ?? …
Dtabs.dart890 double _tabScrollOffset(int index, double viewportWidth, double minExtent, double maxExtent) {
901 return (tabCenter - viewportWidth / 2.0).clamp(minExtent, maxExtent);
909 double _initialScrollOffset(double viewportWidth, double minExtent, double maxExtent) {
910 return _tabScrollOffset(_currentIndex, viewportWidth, minExtent, maxExtent);
Dbottom_sheet.dart176 if (notification.extent == notification.minExtent) {
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Ddraggable_scrollable_sheet.dart177 /// All parameters are required. The [minExtent] must be >= 0. The [maxExtent]
178 /// must be <= 1.0. The [extent] must be between [minExtent] and [maxExtent].
181 @required this.minExtent,
187 assert(minExtent != null),
189 assert(0.0 <= minExtent),
191 assert(minExtent <= extent),
192 assert(minExtent <= initialExtent),
197 /// The current value of the extent, between [minExtent] and [maxExtent].
201 final double minExtent;
219 …description.add('minExtent: $minExtent, extent: $extent, maxExtent: $maxExtent, initialExtent: $in…
[all …]
Dsliver_persistent_header.dart20 /// The `shrinkOffset` is a distance from [maxExtent] towards [minExtent]
24 /// between [maxExtent] and [minExtent] (a positive number), the contents will
25 /// be rendered with a dimension of [minExtent] in the main axis. The
47 double get minExtent;
52 /// This must return a value equal to or greater than [minExtent].
77 /// different values for [minExtent], [maxExtent], [snapConfiguration], or
258 double get minExtent => _element.widget.delegate.minExtent;
/third_party/flutter/flutter/packages/flutter/test/material/
Dflexible_space_bar_test.dart51 const double minExtent = 100.0;
58 minExtent: minExtent,
115 expect(clipRect.size.height, minExtent);
213 double get minExtent => settings.minExtent;
Dtabbed_scrollview_warp_test.dart14 double get minExtent => 50.0;
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dsliver_persistent_header.dart22 /// the viewport, it shrinks to a minimum size ([minExtent]).
34 /// Subclasses must implement [performLayout], [minExtent], and [maxExtent], and
57 double get minExtent;
88 /// if the [minExtent] after this call is greater than the amount of space that
131 assert(minExtent != null);
133 if (minExtent <= maxExtent)
136 'The maxExtent for this $runtimeType is less than its minExtent.\n'
138 'The specified minExtent was: ${minExtent.toStringAsFixed(1)}\n'
142 constraints.asBoxConstraints(maxExtent: math.max(minExtent, maxExtent - shrinkOffset)),
292 …ludeFromSemanticsScrolling = overlapsContent || (constraints.scrollOffset > maxExtent - minExtent);
[all …]
Dsliver_fill.dart154 minExtent: extent,
177 minExtent: extent,
Dsliver_fixed_extent_list.dart179 minExtent: itemExtent,
Dsliver.dart384 /// The `minExtent` and `maxExtent` are used as the constraints in the main
391 double minExtent = 0.0,
401 minWidth: minExtent,
408 minHeight: minExtent,
Dsliver_grid.dart66 minExtent: mainAxisExtent,
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dslivers_appbar_pinned_test.dart303 double get minExtent => 100.0;
307 return Container(constraints: BoxConstraints(minHeight: minExtent, maxHeight: maxExtent));
323 double get minExtent {
324 return shouldThrow ? throw FlutterError('Unavailable minExtent') : 100.0;
329 return Container(constraints: BoxConstraints(minHeight: minExtent, maxHeight: maxExtent));
Dnested_scroll_view_async_test.dart63 double get minExtent => 100.0;
Dslivers_evil_test.dart19 double get minExtent => 16.0;
25 Container(height: minExtent),
Dslivers_appbar_floating_pinned_test.dart303 …testWidgets('Does not crash when there is less than minExtent remainingPaintExtent', (WidgetTester…
336 expect(render.minExtent, greaterThan(availableHeight)); // Precondition
Dslivers_appbar_floating_test.dart236 double get minExtent => 100.0;
240 return Container(constraints: BoxConstraints(minHeight: minExtent, maxHeight: maxExtent));
Dslivers_appbar_scrolling_test.dart147 double get minExtent => 200.0;
Dnested_scroll_view_test.dart685 double get minExtent => 100.0;
/third_party/mesa3d/include/vulkan/
Dvulkan_beta.h128 VkExtent2D minExtent; member
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_beta.h131 VkExtent2D minExtent; member
/third_party/vulkan-headers/include/vulkan/
Dvulkan_beta.h131 VkExtent2D minExtent; member
/third_party/skia/third_party/externals/dawn/third_party/khronos/vulkan/
Dvulkan_beta.h131 VkExtent2D minExtent; member
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/animation/
Dhome.dart123 double get minExtent => minHeight;

12