hugos_extensions 0.0.5 copy "hugos_extensions: ^0.0.5" to clipboard
hugos_extensions: ^0.0.5 copied to clipboard

A personal and highly opinionated Flutter extension package for common UI and Logic tasks

example/main.dart

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

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

  @override
  Widget build(BuildContext context) {
    final colorScheme = context.colorScheme;
    final primaryColor = context.primaryColor;
    final secondaryColor = context.secondaryColor;
    final width = context.width;
    final height = context.height;
    final textTheme = context.textTheme;

    return Column(
      children: [
        const Text("bold").bold,
        const Text("size").size(20),
        const Text("color").color(Colors.red),
      ],
    );
  }
}
1
likes
160
points
42
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A personal and highly opinionated Flutter extension package for common UI and Logic tasks

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on hugos_extensions