collaction_common 0.0.1 collaction_common: ^0.0.1 copied to clipboard
This package provides a set of reusable widgets that can be used across all platforms. These widgets are designed to simplify and speed up the development process for creating collaction applications [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add collaction_common
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
collaction_common: ^0.0.1
Alternatively, 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:collaction_common/common.dart';
import 'package:collaction_common/theme.dart';
import 'package:collaction_common/theme/extension.dart';
import 'package:collaction_common/theme/scheme.dart';
import 'package:collaction_common/theme/widgets/button.theme.dart';
import 'package:collaction_common/theme/widgets/input.theme.dart';
import 'package:collaction_common/theme/widgets/scheme.theme.dart';
import 'package:collaction_common/theme/widgets/text.theme.dart';
import 'package:collaction_common/utils/text_style.ext.dart';
import 'package:collaction_common/widgets/accent_chip.dart';
import 'package:collaction_common/widgets/country_icon.dart';
import 'package:collaction_common/widgets/pill_button.dart';