adaptive library

Convenience barrel forwarding all exports from flutter_adaptive_design.

Classes

AdaptiveActionSheet
Adaptive action sheet that renders a BottomSheet on Material platforms and a CupertinoActionSheet on Cupertino platforms.
AdaptiveAppBar
Adaptive app bar that renders AppBar on Material and CupertinoNavigationBar on Cupertino.
AdaptiveBottomNav
Adaptive bottom navigation bar.
AdaptiveBottomNavItem
An item for use with AdaptiveBottomNav.
AdaptiveButton
Adaptive primary button.
AdaptiveCard
Adaptive card widget.
AdaptiveCheckbox
Adaptive checkbox.
AdaptiveChip
Adaptive chip that renders a Material Chip on Material platforms and an iOS-styled tag/chip Container on Cupertino platforms.
AdaptiveColors
Semantic colours, resolved per platform.
AdaptiveConstrainedContent
Caps how wide a column of content may grow, and centres it.
AdaptiveContextMenu
Adaptive context menu that renders a PopupMenuButton activated by long press on Material platforms and CupertinoContextMenu on Cupertino platforms.
AdaptiveDatePicker
Adaptive date picker that uses showDatePicker on Material platforms and a CupertinoDatePicker in a modal sheet on Cupertino platforms.
AdaptiveDialog
Adaptive dialog that renders AlertDialog on Material platforms and CupertinoAlertDialog on Cupertino platforms.
AdaptiveDialogAction
An action for use in AdaptiveDialog.
AdaptiveDisabled
Dims a subtree and stops it receiving pointer events while disabled is true.
AdaptiveDivider
Adaptive divider.
AdaptiveDrawerItem
An item for use in AdaptiveNavigationDrawer.
AdaptiveDrawerSection
A separator or section header for the drawer.
AdaptiveEmptyState
The "there is nothing here yet" screen: an icon, a title, an optional explanation and an optional call to action.
AdaptiveErrorBanner
Non-blocking error, shown as a strip above the content that stays on screen.
AdaptiveErrorState
Blocking error state: what a screen shows instead of its content when the content could not be loaded.
AdaptiveFab
Adaptive floating action button.
AdaptiveFilterChip
Adaptive filter chip that renders a Material FilterChip on Material platforms and an iOS-styled toggle container on Cupertino platforms.
AdaptiveFormField
Adaptive form field with validation support.
AdaptiveIcon
An icon that picks up the platform's default foreground colour.
AdaptiveIconButton
Adaptive icon button.
AdaptiveIcons
Semantic icon registry.
AdaptiveListSection
Adaptive list section.
AdaptiveListTile
Adaptive list tile.
AdaptiveLoadingButton
An AdaptiveButton that swaps its label for an activity indicator while isLoading is true, and refuses taps in the meantime.
AdaptiveLoadingOverlay
Covers its child with a scrim and a platform-native activity indicator while isLoading is true.
AdaptiveLoadingPage
Full-screen loading state, meant to be the body of a scaffold while a route has nothing to show yet.
AdaptiveMasterDetail
List and detail side by side when there is room, list alone when there is not.
AdaptiveMenuItem<T>
An item for use in AdaptivePopupMenu.
AdaptiveMotion
Animation durations and curves, branched per platform.
AdaptiveNavigationDrawer
Adaptive navigation drawer that renders NavigationDrawer on Material platforms and a Cupertino-styled drawer on Cupertino platforms.
AdaptivePageRoute
Provides platform-adaptive page routes.
AdaptivePicker
Adaptive generic picker that renders a dialog with ListWheelScrollView on Material platforms and a CupertinoPicker in a modal sheet on Cupertino platforms.
AdaptivePopupMenu<T>
Adaptive popup menu that renders PopupMenuButton on Material platforms and a CupertinoActionSheet triggered by tap on Cupertino platforms.
AdaptiveProgressIndicator
Adaptive progress indicator that renders CircularProgressIndicator on Material platforms and CupertinoActivityIndicator on Cupertino.
AdaptiveRadio<T>
Adaptive radio button.
AdaptiveRadius
Corner radii, branched per platform.
AdaptiveRefreshIndicator
Adaptive pull-to-refresh that renders RefreshIndicator on Material and CupertinoSliverRefreshControl on Cupertino.
AdaptiveResponsiveGrid
A grid whose column count follows the width it is given.
AdaptiveResponsiveScaffold
A scaffold whose navigation changes shape with the window.
AdaptiveScaffold
AdaptiveScrollPhysics
Scroll physics matching the platform's overscroll behaviour.
AdaptiveSearchBar
Adaptive search bar.
AdaptiveSegment<T>
A segment definition for AdaptiveSegmentedControl.
AdaptiveSegmentedControl<T extends Object>
Adaptive segmented control.
AdaptiveSheetAction
An action for use in AdaptiveActionSheet.
AdaptiveShimmer
Sweeps a highlight across its subtree, the classic "content is loading" effect for skeleton placeholders.
AdaptiveSkeletonBox
A rectangular content placeholder — one line of text, an image slot, a button-shaped hole.
AdaptiveSkeletonCard
Placeholder for a media card: an image slot, a title line and a shorter caption line, inside an AdaptiveCard.
AdaptiveSkeletonCircle
A circular content placeholder, for avatars and round icon buttons.
AdaptiveSkeletonListTile
Placeholder for a list row: a round avatar, a full-width title line and a shorter subtitle line.
AdaptiveSlider
Adaptive slider.
AdaptiveSliverAppBar
Adaptive sliver app bar for use inside a CustomScrollView.
AdaptiveSnackBar
Adaptive snack bar that renders a SnackBar on Material platforms and a custom iOS-style overlay toast on Cupertino platforms.
AdaptiveSpacing
Spacing scale.
AdaptiveSwitch
Adaptive toggle switch.
AdaptiveTab
Represents a tab with its label, optional icon, and content widget.
AdaptiveTabBar
Adaptive tab bar that renders TabBar+TabBarView on Material platforms and a CupertinoSlidingSegmentedControl+IndexedStack on Cupertino.
AdaptiveTabScaffold
Adaptive tab scaffold that provides a full tabbed page layout.
AdaptiveTextButton
Adaptive text / borderless button.
AdaptiveTextField
Adaptive text field.
AdaptiveTextScale
Policy for the user's text-scaling preference.
AdaptiveThemeScope
AdaptiveTimePicker
Adaptive time picker that uses showTimePicker on Material platforms and a CupertinoDatePicker in time mode on Cupertino platforms.
AdaptiveTooltip
Adaptive tooltip that renders Tooltip on Material platforms and a custom iOS-style overlay tooltip on Cupertino platforms.
AdaptiveTypography
Platform-adaptive type scale.
Breakpoints
Window size classes for the adaptive design system.
ContextMenuAction
An action for use in AdaptiveContextMenu.
One destination of AdaptiveResponsiveScaffold.
PlatformBuilder
PlatformUtils
Platform detection for the adaptive design system.
PlatformWidget<M extends Widget, C extends Widget>

Enums

ScreenSize
The four window size classes produced by Breakpoints.

Extensions

ResponsiveContext on BuildContext
Convenience accessors for the current window.

Typedefs

AdaptiveFAB = AdaptiveFab
Alias for AdaptiveFab matching acronym capitalization.
AdaptiveIconData = dynamic
Type alias for icon data supported by the adaptive design system.