I have used that library before. the problem you are facing is due to wrongly importing the whole repository as 1 project.
it is actually 2 separate projects:
two-way-gridview
. this is the library project. you should import this subfolder on its' own.sample
. this is a sample project with examples how to use two-way-grid correctly.
you need to import both separately for it to work.