clean_framework 0.4.0 copy "clean_framework: ^0.4.0" to clipboard
clean_framework: ^0.4.0 copied to clipboard

outdated

Clean Architecture components library, inspired on the guidelines created by Uncle Bob.

example/lib/main.dart

import 'package:clean_framework/clean_framework.dart';
import 'package:clean_framework_example/routes.dart';
import 'package:flutter/material.dart';

import 'example_locator.dart';

void main() {
  logger().setLogLevel(LogLevel.verbose);

  runApp(_ExampleApp());
}

class _ExampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CFRouterScope(
      initialRoute: Routes.example,
      routeGenerator: Routes.generate,
      builder: (context) {
        return MaterialApp.router(
          routeInformationParser: CFRouteInformationParser(),
          routerDelegate: CFRouterDelegate(context),
        );
      },
    );
  }
}

/// 8-Jul Changes
/// New class JsonResponseBlocCallbackHandler
/// Bloc to own Entity creation and share the reference to usecases those that needs it.
/// Within usecase updates on the Entity should happen on the instance created by Bloc.
/// Fix testcases
38
likes
0
pub points
74%
popularity

Publisher

verified publisheracmesoftware.com

Clean Architecture components library, inspired on the guidelines created by Uncle Bob.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

equatable, flutter, flutter_test, http, meta, provider

More

Packages that depend on clean_framework