Skip to content
On this page

Motion

A subtree-level override for the application motion recipes.

MotionScope in FluttyUIMotionScope in FluttyUI dark theme

Import

import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;

API Reference

The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.

MotionScope

const MotionScope({super.key, required this.overrides, required this.child});
ParameterTypeRequiredDefault
keyKey?Nonull
overridesMotionOverridesYes—
childWidgetYes—

MotionTheme of

static MotionTheme of(BuildContext context);

Application Setup

Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.

Source

lib/src/animation/runtime/motion_scope.dart

This reference is generated from the MotionScope declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

DartFlutter

Get started with FluttyUI