smart_layout_switcher 1.0.0
smart_layout_switcher: ^1.0.0 copied to clipboard
A Flutter package that automatically switches between list, grid, masonry, and staggered layouts with smooth animations based on screen size.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_layout_switcherThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_layout_switcher: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smart_layout_switcher/smart_layout_switcher.dart';