captalize 2.7.0 copy "captalize: ^2.7.0" to clipboard
captalize: ^2.7.0 copied to clipboard

A package containing custom widgets for Flutter.

My Package #

My Package is a Flutter package that provides custom widgets and utilities for building Flutter applications.

Features #

  • Custom Button widget
  • Custom Text
  • Utility functions for working with dates

Installation #

To use My Package, add the following dependency to your pubspec.yaml file:

dependencies: my_package: any

Then, run flutter pub get to install the package.

Usage #

To use the custom Button widget, import the my_package.dart file and create a new MyButton widget:

import 'package:my_package/my_package.dart';

void main() {
  runApp(
    MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text(capitalize("hello world"))), ////output:- Hello World
        body: Center(
          child: MyButton(
            text: 'Click me!',
            onPressed: () => print('Button clicked!'),
          ),
        ),
      ),
    ),
  );
}





0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A package containing custom widgets for Flutter.

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on captalize