market_card 0.1.0 copy "market_card: ^0.1.0" to clipboard
market_card: ^0.1.0 copied to clipboard

A card for the Online Stores with a lot of good things.

example/main.dart

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

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MarketCard(
            icon: Icons.access_alarms,
            iconColor: Colors.red,
            iconButton: Icons.share,
            iconButtonDetails: Icons.info,
            iconButtonColor: Colors.blue,
            label1: 'Share',
            label2: 'Info',
            width: 200,
            height: 300,
            url: 'https://picsum.photos/200/200',
            background: Colors.white,
            score: 4.7,
            onTap: _hello, //_hello,
            onTap2: _hello,
          ),
        ),
      ),
    );
  }

  void _hello() {
    print('hello');
  }
}
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A card for the Online Stores with a lot of good things.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on market_card