debug_bricks_device_info

Creator: coderz1093

Last updated:

0 purchases

debug_bricks_device_info Image
debug_bricks_device_info Images

Languages

Categories

Add to Cart

Description:

debug bricks device info

UI component which display information about the device.
Dependencies #
This package use device_info_plus package as a
device info source.
Getting started #
Add to your pubspec.yaml:
dependencies:
debug_bricks_device_info: <last_version>
copied to clipboard
Usage #


import 'package:debug_bricks_device_info/debug_bricks_device_info.dart';

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

@override
Widget build(BuildContext context) {
return DeviceInfoBrick(
title: 'Device Info',
);
}
}
copied to clipboard
When a user clicks on UI displayed device info will be copied into the clipboard.
Customization #
You can customize output by pass custom deviceInfoAdapter instance in DeviceInfoBrick
instantiation.
class CustomDeviceInfoAdapter extends DeviceInfoAdapter {
const CustomDeviceInfoAdapter();

@override
String extract(BaseDeviceInfo deviceInfo) {
//format data here
}
}
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.