dart_extend 1.0.6 copy "dart_extend: ^1.0.6" to clipboard
dart_extend: ^1.0.6 copied to clipboard

Dart Extend provides a variety of dart methods and classes so you can write better and clean app functionality

example/main.dart

// ignore_for_file: library_private_types_in_public_api

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    var generator = Generator();
    return MaterialApp(
      home: Scaffold(
          appBar: AppBar(
            title: const Text('Document Scanner Demo'),
          ),
          body: Column(
            children: [
              Text(1000.toDecimalPattern()),
              Text(11432.convertBytesToMemoryUnit()),
              Text(generator.createCryptoRandomString()),
              Text(generator.randomNumber(2, 9).toString())
            ],
          )),
    );
  }
}
11
likes
130
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

Dart Extend provides a variety of dart methods and classes so you can write better and clean app functionality

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on dart_extend