flutter_heyteacher_views

A Flutter package providing a collection of reusable UI widgets, adaptive layouts, and view utilities, designed for the Flutter HeyTeacher ecosystem.

Features

  • Navigation Helpers: Includes ScaffoldNavigationShell for streamlined navigation with packages like go_router.
  • Common Widgets: A set of pre-built widgets for common UI patterns, including ErrorView, ProgressIndicatorView, TableView, and more.
  • Adaptive Layout: Easily create responsive UIs that adapt to different screen sizes with AdaptiveScaffold, AdaptiveWrap and AdaptiveState.
  • Animations Utilities: Includes PagingSliverAnimatedState, BlinkingText and AnimatedText.
  • Theme Management: Simple theme switching and management capabilities with ThemeViewModel and widget to change theme mode (ThemeModeButton, ThemeCard)
  • Tutorials: A TutorialViewModel to help guide users through your app's features.
  • Handy Utilities: dialogs (showConfirmCancelDialog), snackbars (showSnackBar), and extensions.

Getting started

Add the package to your pubspec.yaml:

dependencies:
  flutter_heyteacher_views:

Then, run flutter pub get.

Usage

The example app show how to use the widgets and utilities provided by this package.