info_label 1.1.1
info_label: ^1.1.1 copied to clipboard
info_label is a Flutter library that provides customizable components for displaying information.
example/main.dart
import 'package:flutter/material.dart';
import 'package:info_label/info_label.dart';
void main() => runApp(const _MyApp());
class _MyApp extends StatelessWidget {
const _MyApp();
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: SafeArea(
child: Scaffold(
body: Column(
children: [
Center(
child: InfoLabel(
text: "Error",
typeInfoLabel: TypeInfoLabel.error,
leftIcon: Icon(Icons.ac_unit),
),
),
],
),
),
),
);
}
}