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

This package created for better and faster write code

Getting started #

TODO: List prerequisites and provide or point to information on how to start using the package.

Example #

import 'package:flutter/material.dart';
import 'package:wbutton_easier/widget/w_button.dart';

void main() {
  runApp(const MainApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: WButton(
            onTap: () {},
            text: "Submit",
            borderRadius: 10,
            textStyle: const TextStyle(
              fontSize: 22,
              color: Colors.white,
              fontWeight: FontWeight.w500,
            ),
            // disabled: false,
            // loading: false,
          ),
        ),
      ),
    );
  }
}
  
1
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

This package created for better and faster write code

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on wbutton_easier