From 4a18686d105ce29978880b6763249c59637bf669 Mon Sep 17 00:00:00 2001 From: nazarski <110051407+nazarski@users.noreply.github.com> Date: Thu, 27 Apr 2023 15:38:58 +0300 Subject: [PATCH] added comments to Example App --- example/lib/app.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/lib/app.dart b/example/lib/app.dart index ef31c77..e22db0a 100644 --- a/example/lib/app.dart +++ b/example/lib/app.dart @@ -1,7 +1,9 @@ import 'package:flutter/material.dart'; import 'package:languagetool_textfield/languagetool_textfield.dart'; +/// Example App main page class App extends StatefulWidget { + /// Example app constructor const App({super.key}); @override @@ -9,9 +11,13 @@ class App extends StatefulWidget { } class _AppState extends State { + /// Initialize LanguageTool static final LanguageTool _languageTool = LanguageTool(); + + /// Initialize DebounceLangToolService final DebounceLangToolService _debouncedLangService; + /// Set DebounceLangToolService _AppState() : _debouncedLangService = DebounceLangToolService( LangToolService(_languageTool),