info_label

Last updated:

0 purchases

info_label Image
info_label Images
Add to Cart

Description:

info label

Info Label #





Overview #
Info Label is a Flutter library that provides customizable components for displaying information labels in Flutter applications. These labels can be used to convey various types of information, such as success messages, errors, warnings, or additional details, with flexible styling options.
Features #

InfoLabelWidget: A widget for creating customizable information labels with text, icons, and various styling options.
TypeDistributionColor: An enum defining different color distribution configurations for labels to optimize readability and visual appeal.
TypeInfoLabel: An enum representing different types of labels with associated meanings and colors for quick and easy labeling of information.

Getting Started #

Add the info_label package to your pubspec.yaml file:

dependencies:
info_label: ^1.0.8
copied to clipboard
Then, import the library in your Dart code:
import 'package:info_label/info_label.dart';
copied to clipboard
Usage #
Here's a simple example demonstrating how to use the InfoLabelWidget:
import 'package:flutter/material.dart';
import 'package:info_label/info_label.dart';

void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Info Label Example'),
),
body: Center(
child: InfoLabel(
text: 'Hello, World!',
typeColor: TypeDistributionColor.solid,
),
),
),
);
}
}
copied to clipboard
Current Golden test. #



On App. #


Documentation #

API Documentation

Contributing #
Contributions to this project are welcome! If you have any ideas, suggestions, or find any issues, feel free to open an issue or submit a pull request on GitHub.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.