soundsliced_tween_animation_builder 1.2.0 copy "soundsliced_tween_animation_builder: ^1.2.0" to clipboard
soundsliced_tween_animation_builder: ^1.2.0 copied to clipboard

A Flutter package providing a custom TweenAnimationBuilder that uses Timer-based animations, surviving hot restarts without engine assertions.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:soundsliced_tween_animation_builder/soundsliced_tween_animation_builder.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Example')),
        body: Center(
          child: STweenAnimationBuilder<double>(
            tween: Tween(begin: 0.0, end: 1.0),
            duration: const Duration(seconds: 2),
            builder: (context, value, child) {
              return Opacity(
                opacity: value,
                child: const Text('Animated Text'),
              );
            },
          ),
        ),
      ),
    );
  }
}
0
likes
160
points
128
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing a custom TweenAnimationBuilder that uses Timer-based animations, surviving hot restarts without engine assertions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on soundsliced_tween_animation_builder