Getting Started
1- Prerequisites
- Install Flutter 3.47.7 or newer with Dart 3.13.5 or newer.
- You should have an existing Flutter project where you plan to use Flutter Helper Utils.
2- Installation
Open your Flutter project's
pubspec.yamlfile.Add
flutter_helper_utilsto your project's dependencies:yamldependencies: flutter: sdk: flutter flutter_helper_utils: ^10.0.0 material_ui: ^1.6.0Save the
pubspec.yamlfile and run:shellflutter pub getThis command will fetch and add the package to your project.
3- Importing the Package
You can now import the package into your Dart files:
dart
import 'package:material_ui/material_ui.dart';
import 'package:flutter_helper_utils/flutter_helper_utils.dart';Use material_ui.MaterialApp, theme types, Scaffold, snackbars, and carousel controllers with FHU's Material helpers. FHU does not re-export Material types. SDK Material types with the same names are distinct. For upgrades, read the v10 migration guide, including the limits of the temporary legacy compatibility bridge.