Library Widgets
Installing
1. Depend on it
Add this to your package’s pubspec.yaml
file:
dependencies:
library_widgets: ^0.0.1
2. Install it
You can install packages from the command line:
with pub
:
$ pub get
with Flutter
:
$ flutter pub get
3. Import it
Now in your Dart
code, you can use:
import 'import 'package:library_widgets/library_widgets.dart';';
Usage
LibraryWidgets
:
LibraryWidgets.outdoorLetters(
value: 'Dev Leonardo Serrano Flutter',
decoration:
BoxDecoration(border: Border.all(color: Colors.white)),
textStyle: Theme.of(context).textTheme.bodyText1,
),
/// CONTAIN BUG, DON'T USE NOW ///
LibraryWidgets.autoCompletFade(
keys: [
'teste',
'teste teste',
'Teste agua',
'Teste super',
'teste almeida',
'experiente',
'experiente fluxo',
'Porto',
'Porto pedra',
'Porto Pedra',
'Porto Pedra Pereira Agua',
'Preenchimento automatico de texto com fade como principal função'
],
decoration: const InputDecoration(
border: OutlineInputBorder(
borderSide: BorderSide(
color: Colors.white,
),
),
),
controller: myController,
textStyle: Theme.of(context).textTheme.bodyText1,
),
Bugs or Requests
If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on GitHub and I’ll look into it. Pull request are also welcome.
Contributors
Leonardo Serrano |