A Flutter package for the animation of the combination of two paths
import 'package:path_combiner/path_combiner.dart';
First you need to create two paths that need to convert and a boolean to control them.
Here is a minimalist example.
PathCombiner(
duration: const Duration(seconds: 1),
path: showStar ? starPath : circlePath,
color: Theme.of(context).colorScheme.onPrimaryContainer,
)Check example for more.
