kar_erpnext_ess 0.0.1 copy "kar_erpnext_ess: ^0.0.1" to clipboard
kar_erpnext_ess: ^0.0.1 copied to clipboard

A flutter package for ERPNext Employee Self Service

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Kar ERPNext Demo',
      home: const MyHomePage(title: 'Kar ERPNext Home'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  String myERPNextInstance = "";
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[KarErpnextEss(myERPNextInstance, false)],
        ),
      ),
      // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}
0
likes
150
points
13
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A flutter package for ERPNext Employee Self Service

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on kar_erpnext_ess