paper_elements 0.1.0+1 paper_elements: ^0.1.0+1 copied to clipboard
Paper elements for Dart
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add paper_elements
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
paper_elements: ^0.1.0+1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:paper_elements/paper_button.dart';
import 'package:paper_elements/paper_checkbox.dart';
import 'package:paper_elements/paper_dialog.dart';
import 'package:paper_elements/paper_dialog_transition.dart';
import 'package:paper_elements/paper_fab.dart';
import 'package:paper_elements/paper_focusable.dart';
import 'package:paper_elements/paper_icon_button.dart';
import 'package:paper_elements/paper_input.dart';
import 'package:paper_elements/paper_item.dart';
import 'package:paper_elements/paper_menu_button.dart';
import 'package:paper_elements/paper_menu_button_overlay.dart';
import 'package:paper_elements/paper_menu_button_transition.dart';
import 'package:paper_elements/paper_progress.dart';
import 'package:paper_elements/paper_radio_button.dart';
import 'package:paper_elements/paper_radio_group.dart';
import 'package:paper_elements/paper_ripple.dart';
import 'package:paper_elements/paper_shadow.dart';
import 'package:paper_elements/paper_slider.dart';
import 'package:paper_elements/paper_tab.dart';
import 'package:paper_elements/paper_tabs.dart';
import 'package:paper_elements/paper_toast.dart';
import 'package:paper_elements/paper_toggle_button.dart';
import 'package:paper_elements/sampler_scaffold.dart';