typeweight 2.0.2 copy "typeweight: ^2.0.2" to clipboard
typeweight: ^2.0.2 copied to clipboard

Library to help you to use more readable font weight definitions in Flutter.

example/lib/main.dart

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

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'TypeWeight Demo',
      home: Scaffold(
        body: Center(
          child: Text(
            'TypeWeight',
            style: TextStyle(
              fontWeight: TypeWeight.black,
            ),
          ),
        ),
      ),
    );
  }
}
4
likes
160
pub points
46%
popularity

Publisher

verified publisherfrenco.dev

Library to help you to use more readable font weight definitions in Flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on typeweight