fastyle_animation 0.0.8+2 copy "fastyle_animation: ^0.0.8+2" to clipboard
fastyle_animation: ^0.0.8+2 copied to clipboard

Set of animation Widgets for the fastyle library.

example/lib/main.dart

// Flutter imports:
import 'package:flutter/material.dart';

// Package imports:
import 'package:fastyle_animation/fastyle_animation.dart';
import 'package:fastyle_core/fastyle_core.dart';
import 'package:go_router/go_router.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return FastApp(
      routesForMediaType: (mediaType) => [
        GoRoute(path: '/', builder: (_, __) => const MyHomePage()),
      ],
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.white,
      child: const SafeArea(
        child: Center(
          child: FastTyrcordAnimatedLogo(),
        ),
      ),
    );
  }
}
1
likes
0
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

Set of animation Widgets for the fastyle library.

License

unknown (license)

Dependencies

fastyle_core, flutter

More

Packages that depend on fastyle_animation