style_dart 1.0.0 style_dart: ^1.0.0 copied to clipboard
A starting point for Dart libraries or applications.
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();
}
}