cowpay 0.0.3 copy "cowpay: ^0.0.3" to clipboard
cowpay: ^0.0.3 copied to clipboard

This document is a guide to the example project included in the plugin files. In addition, following the below steps will help you learn how to add and use (Cowpay plugin) in your flutter application..

example/lib/main.dart

import 'package:flutter/material.dart';

import 'cowpay_example.dart';

void main() {
  runApp(const MaterialApp(
    home: MyApp(),
  ));
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Cowpay'),
        centerTitle: true,
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          crossAxisAlignment: CrossAxisAlignment.center,
          children: [
            Container(
              margin: const EdgeInsets.only(top: 20),
              width: 300,
              child: ElevatedButton(
                  onPressed: () => Navigator.push(context,
                      MaterialPageRoute(builder: (context) => CowpayExample())),
                  child: const Text('Launch Cowpay')),
            ),
          ],
        ),
      ),
    );
  }
}
1
likes
70
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

This document is a guide to the example project included in the plugin files. In addition, following the below steps will help you learn how to add and use (Cowpay plugin) in your flutter application..

Homepage

Documentation

API reference

License

BSD-2-Clause-Patent (license)

Dependencies

auto_size_text, crypto, dartz, dio, equatable, flutter, flutter_bloc, flutter_screenutil, flutter_spinkit, flutter_svg, fluttertoast, get_it, jwt_decode, mask_text_input_formatter, pretty_dio_logger, webview_flutter, webview_flutter_android, webview_flutter_wkwebview

More

Packages that depend on cowpay