Installing

Installing WebApp Package dart

Installing WebApp Package dart

Home documentation

Depend on it

To add webapp as a dependency in your project, follow these steps:

With Dart:

$ dart pub add webapp

With Flutter:

$ flutter pub add webapp

This will automatically add the webapp package to your pubspec.yaml file:

dependencies:
  webapp:

After this, your project will be set up to use the webapp package.


Import it

Once the package is added, you can import it into your Dart or Flutter code like this:

import 'package:webapp/wa_console.dart';
import 'package:webapp/wa_mail.dart';
import 'package:webapp/wa_model.dart';
import 'package:webapp/wa_model_less.dart';
import 'package:webapp/wa_route.dart';
import 'package:webapp/wa_server.dart';
import 'package:webapp/wa_tools.dart';
import 'package:webapp/wa_ui.dart';

With these imports, you'll have access to all the powerful features that the webapp package offers.


This document should provide you with a comprehensive guide to getting started with the webapp package. Happy coding!