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: ^2.6.0
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:
I Love You Nada {Batoty}
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!'),
),
),
),
),
);
}
For more information about using My Package, see the documentation.
License
My Package is released under the MIT License. See the LICENSE file for more information.
Contact
If you have any questions or comments about My Package, please email me at eslamhegazy968@gmail.com.