File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ class _AppState extends State<App> {
4444 decoration: const InputDecoration (),
4545 coloredController: _controller,
4646 mistakePopup: MistakePopup (popupRenderer: PopupOverlayRenderer ()),
47- maxLines: null ,
4847 ),
4948 DropdownMenu (
5049 hintText: "Select alignment..." ,
Original file line number Diff line number Diff line change @@ -213,20 +213,17 @@ class LanguageToolMistakePopup extends StatelessWidget {
213213 : _replacementButtonsSpacingMobile,
214214 children: mistake.replacements
215215 .map (
216- (replacement) => MouseRegion (
217- cursor: MaterialStateMouseCursor .clickable,
218- child: ElevatedButton (
219- onPressed: () => _fixTheMistake (replacement),
220- style: mistakeStyle ??
221- ElevatedButton .styleFrom (
222- elevation: 0 ,
223- minimumSize: const Size (40 , 36 ),
224- padding: const EdgeInsets .symmetric (
225- horizontal: 8 ,
226- ),
216+ (replacement) => ElevatedButton (
217+ onPressed: () => _fixTheMistake (replacement),
218+ style: mistakeStyle ??
219+ ElevatedButton .styleFrom (
220+ elevation: 0 ,
221+ minimumSize: const Size (40 , 36 ),
222+ padding: const EdgeInsets .symmetric (
223+ horizontal: 8 ,
227224 ),
228- child : Text (replacement ),
229- ),
225+ ),
226+ child : Text (replacement ),
230227 ),
231228 )
232229 .toList (),
You can’t perform that action at this time.
0 commit comments