库小部件


Platform


Donate

安装

1. 依赖它

将此添加到您的包的 pubspec.yaml 文件中

dependencies:
  library_widgets: ^0.0.1

2. 安装它

您可以从命令行安装包

使用 pub

$ pub get

使用 Flutter

$ flutter pub get

3. 导入它

现在,在您的 Dart 代码中,您可以使用

import 'import 'package:library_widgets/library_widgets.dart';';

用法

库小部件:

 LibraryWidgets.outdoorLetters(
              value: 'Dev Leonardo Serrano Flutter',
              decoration:
                  BoxDecoration(border: Border.all(color: Colors.white)),
              textStyle: Theme.of(context).textTheme.bodyText1,
            ),
            

ezgif com-gif-maker-2

/// 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,
            ),

ezgif com-gif-maker-3

Bug 或请求

如果您遇到任何问题,请随时在 GitHub 上打开一个 issue。如果您觉得库缺少某个功能,请在 GitHub 上提交一个 ticket,我会进行处理。也欢迎提交 Pull request。

贡献者


Leonardo Serrano

GitHub

查看 Github