Untitled
unknown
plain_text
15 days ago
716 B
6
Indexable
import 'package:flutter/material.dart'; import 'package:clarity_flutter/clarity_flutter.dart'; void main() { final config = ClarityConfig( projectId: "s1s1oiimrt", logLevel: LogLevel.None // Note: Use "LogLevel.Verbose" value while testing to debug initialization issues. ); runApp(ClarityWidget( app: MyApp(), clarityConfig: config, )); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar( title: Text('Clarity Flutter SDK Example'), ), body: Center( child: Text('Hello, Clarity!'), ), ), ); } }
Editor is loading...
Leave a Comment