divkit 0.5.0 copy "divkit: ^0.5.0" to clipboard
divkit: ^0.5.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()));
}
47
likes
130
pub points
68%
popularity

Publisher

verified publisherdivkit.tech

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_cache_manager, flutter_svg, logging, meta, petitparser, rxdart, visibility_detector

More

Packages that depend on divkit