flutter_work_utils 0.2.5 copy "flutter_work_utils: ^0.2.5" to clipboard
flutter_work_utils: ^0.2.5 copied to clipboard

Flutter Work utils for a faster work, the best utilities set together in a simple package

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_work_utils/flutter_utils.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Material App Bar'),
        ),
        body: Center(
          child: Column(
            children: [
              Text(
                DateTime.now().dateString, //dates
                style: Theme.of(context).textTheme.displaySmall!.copyWith(
                    color: getColorContrast(// font_color_switcher
                        colorFromString("ff000000")! // color_parse
                        )),
              ),
              Text(
                "hola12".diggest, //diggester
                style: Theme.of(context)
                    .textTheme
                    .displaySmall!
                    .copyWith(color: getColorContrast(// color_parse
                        Theme.of(context).colorScheme.surface)),
              ),
              ElevatedButton(
                child: Text(
                  "Unfocus",
                  style: Theme.of(context).textTheme.headlineMedium,
                ),
                onPressed: () => unfocus(context), // unfocus
              ),
              TextFormField(),
            ],
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Work utils for a faster work, the best utilities set together in a simple package

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (license)

Dependencies

collection, crypto, diacritic, flutter, intl

More

Packages that depend on flutter_work_utils