custom_styles_package
A Flutter package that offers a set of reusable, customizable UI widgets including CustomText
, CustomButton
, CustomTextField
, CustomImage
, and CustomRichText
, all built with responsive design in mind. It also includes a global style configuration utility for consistency across projects.
✨ Features
- 📦 Pre-built reusable widgets
- 🧩 Global styling using
CustomStylesConfig
- 🎨 Consistent theming with minimal setup
- 📱 Responsive sizing via
flutter_screenutil
- 🛠 Easily extensible for future UI components
✨ Getting started
- Initialize config in main.dart for setting up your theme.
- CustomStylesConfig.init(primary: Colors.black,);
- Then you can now use the following widgets as per your convinience
- CustomButton
- CustomText.appbarText, CustomText.heading, CustomText.bodyText1, and more
- CustomRichText
- CustomTextField
- Also You can use custom prints and custom logs
- customPrint
- customLogs