my_print 0.0.8 copy "my_print: ^0.0.8" to clipboard
my_print: ^0.0.8 copied to clipboard

discontinued

A Package will helps you to use DEBUG PRINT in a good Manner.

My Print #

myPrint is the way to use DEBUG PRINT in a good manner.

Reason #

Many of the developers uses print("Data..."); method to check the values which harms the release by printing those values in it. So, use "myPrint" using this package to secure your app. This is designed debugPrint("Data...") function..

Console Output #

MY PRINT

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  my_print: ^0.0.8
  1. Import the package and use it in your Flutter App.
import 'package:my_print/my_print.dart';

Example #

There are a number of properties that you can use:

  • screen (required)
  • data (required)
  • type (optional)

class YourScreen extends StatelessWidget {
  const YourScreen({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: InkWell(
          onTap: (){
            myPrint(
              screen: "YourScreen",
              data: "Container Button Pressed",
              type: "Tap Check",
            );
          },
          child: Container(
            height: 30,
            width: 30,
            color: Colors.red,
          ),
        ),
      ),
    );
  }
}
MY PRINT

Additional information #

  1. Just use myPrint function by importing the package.
  2. type is like you sometime check button pressed or not then send data in it. like in example.
5
likes
0
points
27
downloads

Publisher

verified publisherfluxpert.com

Weekly Downloads

A Package will helps you to use DEBUG PRINT in a good Manner.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on my_print