buy_packages_card 0.0.4 copy "buy_packages_card: ^0.0.4" to clipboard
buy_packages_card: ^0.0.4 copied to clipboard

A new Flutter package for buy packages card

Flutter Package: buy_packages_card #

Overview #

Custom Package Widgets is a Flutter package designed to simplify the display of pricing plans or subscription options in Flutter applications. It provides customizable widgets that can be easily integrated into your app's UI to showcase different package offerings.

Features #

  • Customizable Package Widgets: Display package details such as name, price, duration, and additional information using customizable widgets.
  • Quick Start Button: Each package widget includes a quick start button for seamless access to getting started with the selected package.

Installation #

To use this package in your Flutter project, add buy_packages_card as a dependency in your pubspec.yaml file:

dependencies:
  buy_packages_card: ^1.0.4  # Replace with the latest version

  How to use:

```dart

import 'package:buy_packages_card/buy_packages_card.dart';
import 'package:flutter/material.dart';

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text("buy_packages_card"),
        centerTitle: true,
      ),
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        crossAxisAlignment: CrossAxisAlignment.center,
        children: [
          BuyPackageCard(
            packageName: "Basic package",
            packagePrice: "4,000 PKR",
            packageDuration: 'Per/Month',
            buttonOntap: () {},
            quickStartText: "Quick Start",
            quickStartButtonOnTap: () {},
            buttonTextStyle: const TextStyle(color: Colors.white),
            buttonText: "Buy Now",
            text1: "24/7 Customer Support",
            text2: "100+ Audio Calls",
            text3: "200+ Video Calls",
            text4: "100+ minutes",
          ),
        ],
      ),
    );
  }
}

4
likes
115
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for buy packages card

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, get

More

Packages that depend on buy_packages_card