Let’s Flutter

Object-Oriented Programming and How You Can Benefit as a Flutter-Dev

Making Your Life Easier in Flutter With OOP-Superpowers

Beyond Boundaries
Beyond the Dev Life
5 min readSep 16, 2021

--

It appears object-oriented programming is the Goliath of every David-Programmer. I would know because the book I read when I started coding dedicated one-fifth of the book’s pages to OOP. And everywhere were
‘stop’ and ‘caution’-signs.

It gives us a nice way to model our data after real-world objects. — Eric Windmill in ‘Flutter in Action’

OOP doesn’t have to be difficult. I found it rather easy to wrap my head around. Maybe it was because I adopted a specific thought pattern early on.

Image by cottonbro (https://www.pexels.com/de-de/foto/gesichtslos-sport-kampf-ausbildung-4753927/) on pexels. With uncreative edits by author.
Image by cottonbro on pexels. With uncreative edits by author.

First of all, before we can dive deeper into a specific topic, we have to know what it is. I find a concept easier to grasp if I look at its benefits first.

What Are the Benefits of OOP in Flutter?

I have one word for you:

Reusability.

And after that? Godspeed.

All jokes aside, if you refactor your code (or build your code from the ground up, for that matter) with OOP in mind, you can make it highly reusable for future projects.

--

--

Beyond the Dev Life
Beyond the Dev Life

Published in Beyond the Dev Life

From beginner tutorials to professional programming topics and everything in between.

Beyond Boundaries
Beyond Boundaries

Written by Beyond Boundaries

Top Writer in Productivity. Productivity, programming, and Engineering Blogs. Strong focus on tech. Ph.D. student.