animated_lines 1.0.1 copy "animated_lines: ^1.0.1" to clipboard
animated_lines: ^1.0.1 copied to clipboard

Draws animated lines between two points.Supports both straight lines as well as curved lines with a given radius.

example/lib/main.dart

import 'package:example/animated_lines_example.dart';
import 'package:flutter/material.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 MaterialApp(
      title: 'Animated Line Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Animated Line Example'),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final String title;

  MyHomePage({required this.title});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(title),
      ),
      body: const AnimatedLinesExample(),
    );
  }
}
9
likes
150
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Draws animated lines between two points.Supports both straight lines as well as curved lines with a given radius.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on animated_lines