widgets_modifiers 0.3.42
widgets_modifiers: ^0.3.42 copied to clipboard
Flutter library that transform common-use widgets into companion modifiers, collapsing Flutter tree-like code structure.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add widgets_modifiersThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
widgets_modifiers: ^0.3.42Alternatively, 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:widgets_modifiers/interaction/touch_interactions_widgets_modifiers.dart';
import 'package:widgets_modifiers/layout/single_child_layout_widgets_modifiers.dart';
import 'package:widgets_modifiers/painting/painting_effect_widgets_modifiers.dart';
import 'package:widgets_modifiers/style/styling_widgets_modifiers.dart';