1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Refactor Simplistic_Editor (#1375)

* refactor out FormattingToolbar and TextEditingDeltaHistoryView from main`

* replace togglebuttonstatemanager and texteditingdeltahistorymanager with appstatemanager

* fix up tests

* clean up

* Add ReplacementTextEditingController to AppState

* formatting

* `dart format`

Co-authored-by: Renzo Olivares <roliv@google.com>
Co-authored-by: Brett Morgan <brettmorgan@google.com>
This commit is contained in:
Renzo Olivares
2022-08-11 01:06:32 -07:00
committed by GitHub
parent e84e396a1f
commit c00e838c51
9 changed files with 526 additions and 482 deletions

View File

@@ -10,6 +10,7 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:simplistic_editor/basic_text_input_client.dart';
import 'package:simplistic_editor/main.dart';
import 'package:simplistic_editor/text_editing_delta_history_view.dart';
void main() {
testWidgets('Default main page shows all components', (tester) async {