MD Util
Developed By Mohammad Abbas Sayed
MdUtil is a package that provides collection of customizable Flutter widgets designed to simplify UI development. This package includes enhanced text, buttons, and image components that are easy to use and integrate into your Flutter applications.
Features:
- Clean code
- Easy to implement
- Light weight
- Flexible
- Advanced feature that wraps multiple features around text widgets
- Actively maintained
Getting Started
Prerequisites
Before you begin, ensure you have the following installed on your machine:
- Flutter SDK: Version 2.10.0 or higher. You can follow the installation instructions on the Flutter website.
- Dart SDK: Version 2.17.0 or higher. The Dart SDK is included with the Flutter SDK, so installing Flutter will also install Dart.
Installation
To start using the md_utils
, follow these steps:
-
Add the Dependency: Open your project's
pubspec.yaml
file and addmd_utils
under the dependencies section:dependencies: md_utils: ^0.1.0
-
Install the Package: Run the following command in your terminal to install the package:
flutter pub get
-
Import the Package: In your Dart files, import the package as follows:
import 'package:md_utils/md_utils.dart';
Example Usage
Here’s a simple example demonstrating how to use the MdText
and MdButton
widgets in your Flutter application:
import 'package:flutter/material.dart';
import 'package:md_utils/md_utils.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'MD Utils Example',
home: Scaffold(
appBar: AppBar(title: Text('Custom Widgets')),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
MdText(
text: "Hello, World!",
fontSize: 24,
color: Colors.blue,
),
SizedBox(height: 20),
MdButton(
onTap: () {
ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
content: MdText(
text: "MdButton was pressed!",
)));
},
title: 'Click Me'),
],
),
),
),
);
}
}
Support
-
PRs Welcome
-
Don't forget to give it a star ⭐
Developer
Mohammad Abbas Sayed
Pune, India
As a technical professional with 8 years of experience, I have developed expertise in PHP Laravel, Flutter/Dart, Python, HTML/CSS/JavaScript. Additionally, I have in-depth knowledge of databases such as MySQL and Datastax Cassandra, as well as cloud platforms like AWS and Google Cloud.
In my current role, I am proud to have been leading my team for the past year, overseeing the successful execution of projects and ensuring that all development processes are streamlined and efficient. My ability to collaborate with cross-functional teams, mentor junior developers, and deliver high-quality solutions has helped me establish a reputation as a trusted leader in the eyes of my clients.
I am constantly striving to expand my knowledge and stay up-to-date with the latest technologies and trends. My passion for learning and dedication to my craft have allowed me to consistently deliver innovative solutions that meet and exceed client expectations.
I focus on delivering quality and time and encourage the team to write clean and efficient code that emphasizes design and flexibility.
If you're looking for a skilled and experienced software developer who can lead your team to success, look no further. Let's connect and explore how we can work together to bring your vision to life.