letsar / gap

Flutter widgets for easily adding gaps inside Flex widgets such as Columns and Rows or scrolling views
MIT License
211 stars 20 forks source link

[Question] Compilation error with version 2.0.2 #14

Open Guillaume-Fortin opened 1 year ago

Guillaume-Fortin commented 1 year ago

I have a compilation error with version 2.0.2 of gap.

Error: Member not found: 'Scrollable.maybeOf'.
    final scrollableState = Scrollable.maybeOf(context);
                                       ^^^^^^^
Error: Compilation failed.

The method Scrollable.maybeOf only exist after Flutter 3.7.x.

Can you use Scrollable.maybeOf in a version 3.0.0 which has set minimum Flutter version to 3.7.0 and revert the modification on gap 2.0.3 ?

Actually in production, our application use Flutter 3.3.x and since 3 days, our CI/CD couldn't compile for this reason.

NicholasVook commented 6 months ago

u can use 2.0.1