Make your app responsive by implementing breakpoints based on Boostrap 4.0+.
Features
- Get the screen width from BuildContext.
- Get the current breakpoint.
- Get the max width based on the current breakpoint. Max width can be modified by the user.
Getting started
- To use this plugin, add
bootstrap_breakpoints
as a dependency in your pubspec.yaml file.
dependencies:
bootstrap_breakpoints:
or run:
flutter pub add bootstrap_breakpoints
- Now in your Dart code, you can use:
import 'package:bootstrap_breakpoints/bootstrap_breakpoints.dart';
Usage
See /example
folder.