watermelon_mediator 0.0.5 copy "watermelon_mediator: ^0.0.5" to clipboard
watermelon_mediator: ^0.0.5 copied to clipboard

A pure dart package to use the Mediator design pattern in all dart projects, specially flutter mobile apps.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'application/requests_register/requests_register.dart';
import 'ui/car_list_screen.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const CarListScreen(),
    );
  }
}
1
likes
160
pub points
0%
popularity

Publisher

verified publishergoldcherry.app

A pure dart package to use the Mediator design pattern in all dart projects, specially flutter mobile apps.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on watermelon_mediator