flutter_curve 1.0.0 copy "flutter_curve: ^1.0.0" to clipboard
flutter_curve: ^1.0.0 copied to clipboard

flutter_curve is to create physics-based animations, to drive animation by curve.

example/lib/main.dart

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

import 'src/curve_app/app/app_page.dart';
import 'src/curve_app/web/web_page.dart';

void main() {
  runApp(const ProviderScope(child: MyApp()));
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter curve',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: kIsWeb ? const CurveWebExamplePage() : const CurveExampleAppPage(),
    );
  }
}
5
likes
150
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

flutter_curve is to create physics-based animations, to drive animation by curve.

Repository (GitHub)
View/report issues

Topics

#animation #ui #effects #curve #widget

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_curve