salesgent_ui_components

Last updated:

0 purchases

salesgent_ui_components Image
salesgent_ui_components Images
Add to Cart

Description:

salesgent ui components

This package is only for Salesgent flutter applications.
Features #
This package is only for Salesgent flutter applications.
Getting started #
This package is only for Salesgent flutter applications.
Usage #
To use this package simple implement pre build screens like below,
import 'package:flutter/material.dart';
import 'package:salesgent_ui_components/salesgent_ui_components.dart';
import 'package:z_smoke/constants.dart';
import 'package:z_smoke/screens/dashboard/recent_orders_screen.dart';

class DashboardScreen extends StatelessWidget {
const DashboardScreen({super.key});

@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: whiteColor,
appBar: AppBar(
title: const Text("Dashboard"),
),
body: Padding(
padding: const EdgeInsets.all(22),
child: Dashboard(
apiURL: apiURL,
onLogin: () {},
onRecentOrders: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (contex) => const RecentOrdersScreen()));
},
primaryColor: primaryColor,
secondaryColor: secondaryColor,
),
),
);
}
}
copied to clipboard
Additional information #

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.