extra_weight_text_style 0.0.1 copy "extra_weight_text_style: ^0.0.1" to clipboard
extra_weight_text_style: ^0.0.1 copied to clipboard

Flutter package that provide a extra thinkness to the text.

ExtraWeightTextStyle is a Flutter TextStyle extension that allows you to apply customizable extra thickness to any text. It enhances the visual weight and emphasis of your text without requiring heavier fonts or altering the layout.

Perfect for headings, banners, or any display text where you want a bolder, more impactful appearance—without relying on custom fonts or additional styling layers.

✨ Features #

  • 📏 Add extra thickness to any text using the extraBold property (range: 0.0 to 1.0)
  • 🎨 Works with all other TextStyle properties like color, shadows, and font size
  • 🔧 Lightweight, plug-and-play customization

Getting started #

Installation #

Add the package to your pubspec.yaml:

dependencies:
  extra_weight_text_style: ^1.0.0

Usage #

To use this package, simply replace TextStyle with ExtraWeightTextStyle.
It supports all the default TextStyle properties, along with an additional extraBold property to increase the visual thickness of the text.

import 'package:flutter/material.dart';
import 'package:extra_weight_text_style/extra_weight_text_style.dart';

class DemoText extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Text(
        'Extra Bold!',
        style: ExtraWeightTextStyle(
          fontSize: 36,
          fontWeight: FontWeight.bold,
          color: Colors.deepPurple,
          extraBold: 0.8, // Range from 0.0 to 1.0
        ),
      ),
    );
  }
}

Additional information #

You can feel the difference

[Preview of ExtraWeightTextStyle] [Preview of ExtraWeightTextStyle]

3
likes
150
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter package that provide a extra thinkness to the text.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on extra_weight_text_style