nb_utils 2.0.7 copy "nb_utils: ^2.0.7" to clipboard
nb_utils: ^2.0.7 copied to clipboard

outdated

This package helps you daily usable function with ease. Just add nb_utils with its latest version and that's it you are ready to use.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    //
    launchNewScreen(context, 'tag');
    launchNewScreenWithNewTask(context, 'tag');
    finish(context);
    Color color = getColorFromHex('#FFFFF');

    return MaterialApp(
      title: 'Flutter Utils Example',
      theme: ThemeData(
        primarySwatch: whiteColor,
      ),
      home: HomePage(''),
    );
  }
}

class HomePage extends StatelessWidget {
  String text;

  HomePage(this.text);

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        HomePage('ffe').launch(context);
      },
      child: Container(
        child: Text(text.validate()).withStyle(),
      ),
    );
  }
}
383
likes
0
pub points
99%
popularity

Publisher

verified publisherbhoominn.com

This package helps you daily usable function with ease. Just add nb_utils with its latest version and that's it you are ready to use.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on nb_utils