AnimatedFollowButton constructor

const AnimatedFollowButton({
  1. required bool isFollowing,
  2. required VoidCallback onPressed,
  3. bool isLoading = false,
  4. double width = 140,
  5. double height = 40,
  6. String? followText,
  7. String? followingText,
  8. String? unfollowText,
  9. Key? key,
})

Implementation

const AnimatedFollowButton({
  required this.isFollowing,
  required this.onPressed,
  this.isLoading = false,
  this.width = 140,
  this.height = 40,
  this.followText,
  this.followingText,
  this.unfollowText,
  super.key,
});