Last updated:
0 purchases
ntp logo
NTPLogo #
A customizable component for displaying the NETOPIA Payments logo with dynamic color and version options.
Usage #
class SampleItemDetailsView extends StatelessWidget {
const SampleItemDetailsView({super.key});
static const routeName = '/sample_item';
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Item Details'),
),
body: NTPLogo(bgColor: '#000', version: 'horizontal', secret: 'your secret key'),
);
}
}
copied to clipboard
Props #
The NTPLogo component accepts the following props:
bgColor (optional): The color of the background where the logo will be placed, can be HEX or RGB. Defaults to #ffffff.
version (optional): Logo version, either 'vertical' or 'horizontal'. Default is 'vertical'.
secret (required): Your secret key for the logo. Log in into your NETOPIA Payments account to obtain the secret key. If not provided, an error message will be displayed.
License #
This project is licensed under the MIT License - see the [LICENSE] file for details.
Author #
Created by NETOPIA
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.