parent
9169345b1f
commit
b4c9d84fd4
5 changed files with 21 additions and 9 deletions
@ -1,11 +1,11 @@ |
||||
import 'package:flutter/services.dart'; |
||||
import 'package:flutter/material.dart'; |
||||
import 'spellchecker_service.dart'; |
||||
|
||||
class DefaultSpellcheckerService extends SpellcheckerService{ |
||||
DefaultSpellcheckerService() : super(language: 'en'); |
||||
|
||||
@override |
||||
List<SuggestionSpan>? getSuggestions(String text) { |
||||
List<TextSpan>? fetchSpellchecker(String text) { |
||||
return null; |
||||
} |
||||
} |
||||
|
@ -0,0 +1,13 @@ |
||||
import 'package:flutter/material.dart'; |
||||
|
||||
import 'spellchecker_service.dart'; |
||||
|
||||
class SimpleSpellCheckerImpl extends SpellcheckerService { |
||||
SimpleSpellCheckerImpl({required super.language}); |
||||
|
||||
@override |
||||
List<TextSpan>? fetchSpellchecker(String text) { |
||||
return null; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue