Skip to content

Vishwa-Karthik/Instagram-Like-Button

Repository files navigation

Animated Heart Tap Widget

Like Button is a flutter library that allows you to create a button with animation effects similar to Twitter's heart when you like something and animation effects to increase like count.

Result

Code

Scaffold(
      appBar: AppBar(
        title: const Text(
          "ANIMATED HEART TAP",
          style: TextStyle(fontWeight: FontWeight.bold),
        ),
        centerTitle: true,
      ),
      // ignore: prefer_const_constructors
      body: Center(
        // ignore: prefer_const_constructors
        child: LikeButton(
          size: 100,
          likeCount: 3000,
          countPostion: CountPostion.bottom,
        ),
      ),
    );

Refernce

Pub.dev: like_button

Releases

No releases published

Packages

No packages published

Languages