min_animations

Last updated:

0 purchases

min_animations Image
min_animations Images
Add to Cart

Description:

min animations

min_animations #
import 'package:flutter/material.dart';
import 'package:min_animations/min_animations.dart';

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

class MainApp extends StatelessWidget {
const MainApp({super.key});

@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.black,
body: Center(
child: Container(
width: 100,
height: 100,
color: Colors.grey.shade300,
child: const Center(
child: Text(
'Flip',
style: TextStyle(
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
),
).flipAnimation(
duration: const Duration(milliseconds: 1000),
end: 0.0,
begin: 3.14159,
curve: Curves.linear,
reverse: false,
),
),
),
);
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.