motion_framer 0.0.2 copy "motion_framer: ^0.0.2" to clipboard
motion_framer: ^0.0.2 copied to clipboard

flutter_motion_framer package.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:motion_framer/motion.dart';
import 'package:motion_framer/motion_framer.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Motion framer example'),
        ),
        body: const Center(
          child: MotionContainer(
            widget: Text('Text'),
            animate: {"scale": 2.0},
            transition: {"duration": 2000},
          ),
        ),
      ),
    );
  }
}
4
likes
120
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

flutter_motion_framer package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on motion_framer