divkit 0.6.0 copy "divkit: ^0.6.0" to clipboard
divkit: ^0.6.0 copied to clipboard

Open source SDUI framework for server-driven app updates, rapid UI prototyping, and cross-platform layouts.

example/lib/main.dart

import 'package:divkit/divkit.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

import 'src/app.dart';

void main() {
  // DivKit log output
  logger
    ..keepLog = kDebugMode
    ..onLog = print;

  debugPrintDivKitViewLifecycle = true;
  debugPrintDivExpressionResolve = true;
  debugPrintDivPerformLayout = false;

  runApp(const ProviderScope(child: PlaygroundApp()));
}
52
likes
140
points
316
downloads

Publisher

verified publisherdivkit.tech

Weekly Downloads

Open source SDUI framework for server-driven app updates, rapid UI prototyping, and cross-platform layouts.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, clock, collection, equatable, flutter, flutter_svg, logging, meta, petitparser, rxdart, visibility_detector

More

Packages that depend on divkit