divkit 0.4.0 divkit: ^0.4.0 copied to clipboard
Open source SDUI framework for server-driven app updates, rapid UI prototyping, and cross-platform layouts.
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 = true;
runApp(const ProviderScope(child: PlaygroundApp()));
}