// the find
TheAlphamerc/flutter_twitter_clone
Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage
A fully functional Twitter clone in Flutter backed by Firebase, covering auth, real-time feed, DMs, notifications, profiles, and settings. It's a learning project, not a production template — the value is in seeing how a non-trivial social app is wired together end to end. Flutter developers building their first social feature will find it useful to read.
The feature coverage is genuinely wide: tweet threads, retweets with comments, nested replies, DMs, follow/follower lists, bookmarks, and a QR code profile — more complete than most 'clone' repos. State management uses Provider cleanly, with a dedicated state class per domain (feedState, chatState, searchState) rather than one god object. The directory structure is well-organized: UI, state, models, and widgets are properly separated, which makes navigation predictable. Two database backends (Realtime DB on master, Firestore on a branch) lets you compare Firebase approaches on the same feature set.
Last meaningful commit is mid-2024 and the project uses `flutter_advanced_networkimage`, which has been abandoned for years — expect package resolution pain on current Flutter. There are zero tests beyond a placeholder widget_test.dart; the `test/` folder is essentially empty, so you can't trust any refactor. The state layer does direct Firebase calls inside Provider notifiers with no repository abstraction, meaning swapping the backend (or mocking for tests) requires touching every state class. Push notifications are wired in but the implementation (`push_notification_service.dart`) doesn't appear to handle foreground/background correctly on modern Android, which has tightened FCM requirements significantly since this was written.