feat: upgrade to flutter 3.16 (#4119)

* feat: upgrade to flutter 3.16

* chore: adjust flutter 3.16 new api

* chore: code format

* fix: ci lint

* chore: code format

* chore: dart format
This commit is contained in:
Lucas.Xu
2023-12-08 20:01:54 +07:00
committed by GitHub
parent 6338ca1417
commit ef49cb6577
140 changed files with 575 additions and 605 deletions

View File

@ -19,7 +19,7 @@ void main() {
await tester.createNewPageWithName(layout: ViewLayoutPB.Board);
final card1 = find.ancestor(
of: find.findTextInFlowyText(card1Name),
of: find.findTextInFlowyText(card1Name),
matching: find.byType(AppFlowyGroupCard),
);
final doingGroup = find.findTextInFlowyText('Doing');
@ -27,7 +27,7 @@ void main() {
final card1Center = tester.getCenter(card1);
await tester.timedDrag(
card1,
card1,
doingGroupCenter.translate(-card1Center.dx, -card1Center.dy),
const Duration(seconds: 1),
);
@ -36,9 +36,9 @@ void main() {
await tester.pumpAndSettle();
final card1StatusFinder = find.descendant(
of: find.byType(RowPropertyList),
of: find.byType(RowPropertyList),
matching: find.descendant(
of: find.byType(SelectOptionTag),
of: find.byType(SelectOptionTag),
matching: find.byType(FlowyText),
),
);

View File

@ -104,7 +104,7 @@ void main() {
});
}
const _sample = r'''
const _sample = '''
# Heading 1
## Heading 2
### Heading 3