style_dart 1.0.0 copy "style_dart: ^1.0.0" to clipboard
style_dart: ^1.0.0 copied to clipboard

outdated

A starting point for Dart libraries or applications.

example/example.dart

import 'dart:async';

import 'package:style/style.dart';


/// in example

void main() {


}

class BerberServer extends StatelessComponent {
  @override
  Component build(BuildContext context) {
    return Server(
      rootName: "berber_server",
      rootEndpoint: Redirect('../home'),
      children: [
        // TODO: 
      ],
    );
  }
}



class BerberUnknownRequest extends Endpoint {

  @override
  FutureOr<Message> onCall(Request request) {
    // TODO: implement onCall
    throw UnimplementedError();
  }
}