z_components 0.8.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 78

Z_Components #

Z_Components is a package composed by a series of components whose goal is to facilitate, optimize and accelerate the development of iOS and Android applications by Zellar.

These components are based on the company's internal StyleGuide, which was created from Cupertino and Material Design principles, in the intent to match them with Zellar's visual identity.

A small example of how to use: #

import 'package:z_components/components/z_button.dart';
import 'package:z_components/components/z_picker.dart';

          new ZButton(
                zButtonType: ZButtonType.isOutlined,
                onPressed: () {
                  new ZPicker(
                    context: context,
                    initialDate: DateTime.now(),
                    lastDate: DateTime(2090),
                    firstDate: DateTime(1090),
                    onTimerDurationChanged: (date) {
                      date;
                    },
                  );
                },
                text: "Outlined"),

0.8.3 #

  • uptade!

0.8.2 #

  • ZHeader!

0.8.1 #

  • uptade!

0.8.0 #

  • uptade!

0.7.9 #

  • uptade ZItemTile!

0.7.8 #

  • uptade ZLOAD!

0.7.7 #

  • uptade!

0.7.6 #

  • uptade NomeReduzido!

0.7.5 #

  • Deleted FLARE!

0.7.4 #

  • Flare downgrade, ZCadastro DialogClick!

0.7.3 #

  • ZCadastro

0.7.2 #

  • ZCadastro

0.7.1 #

  • Update ZCadastro

0.7.0 #

  • Update Z-Expanded-Item-Tile

0.6.9 #

  • Update Z-Expanded-Item-Tile

0.6.8 #

  • Update Zperfil & ZItemTile

0.6.7 #

  • Update ZCheckCPF!

0.6.6 #

  • Update!

0.6.5 #

  • Update ZTILE! new Styles with ScreensAdapter!

0.6.4 #

  • Update ZTILE! new Styles with ScreensAdapter!

0.6.3 #

  • Update!

0.6.2 #

  • Update!

0.6.1 #

  • Update!

0.6.0 #

  • Update!

0.5.9 #

  • Update!

0.5.8 #

  • Update!

0.5.7 #

  • Update!

0.5.6 #

  • Update ZItemTile!

0.5.5 #

  • Update ZItemTile!

0.5.4 #

  • Update ZHeader!

0.5.3 #

  • Update ZHeader!

0.5.2 #

  • Update ZHeader!

0.5.1 #

  • Update ZHeader!

0.5.0 #

  • Update ZHeader!

0.4.9 #

  • Update AndroidX!

0.4.8 #

  • Update ZPerfil!

0.4.7 #

  • Update ZPerfil!

0.4.6 #

  • Update ZItemTile!

0.4.5 #

  • Update ZLOCAL!

0.4.4 #

  • Update ZLOCAL!

0.4.3 #

  • Update ZTile!

0.4.2 #

  • Update!

0.4.1 #

  • Update!

0.4.0 #

  • Update!

0.3.9 #

  • Update!

0.3.8 #

  • Update!

0.3.7 #

  • Update ZEscala!

0.3.6 #

  • Update ZPerfil!

0.3.5 #

  • Update ZPerfil!

0.3.4 #

  • Update ZCollection!

0.3.3 #

  • Update for Keyboard Light on IOS!

0.3.2 #

  • Correction ZPerfil!

0.3.1 #

  • Correction ZPerfil!

0.3.0 #

  • Correction ZBaseline!

0.2.9 #

  • Correction ZBaseline!

0.2.8 #

  • Correction ZSEQUENCIA!

0.2.7 #

  • New Component: ZSEQUENCIA!

0.2.6 #

  • Correction BASELINE!

0.2.5 #

  • Correction ZESCALA!

0.2.4 #

  • Correction ZBASELINE!

0.2.3 #

  • Correction ZHORA!

0.2.2 #

  • Correction ZHORA!

0.2.1 #

  • Correction ZHORA and new Component(ZEmpresa)!

0.2.0 #

  • Correction ZHORA!

0.1.9 #

  • Correction Zcadastro, ZPerfil and ZCollection!

0.1.8 #

  • Correction ZEscala and update ZHORA!

0.1.7 #

  • Correction ZCARGO, ZESCALA, ZLOCAL!

0.1.6 #

  • Correction ZCARGO, ZESCALA, ZLOCAL!

0.1.5 #

  • Correction ZCARGO, ZESCALA, ZLOCAL!

0.1.4 #

  • Correction ZCARGO, ZESCALA, ZLOCAL!

0.1.3 #

  • Correction ZCARGO!

0.1.2 #

  • Correction!

0.1.1 #

  • created new component!

0.1.0 #

  • created new components!

0.0.9 #

  • Improvement ZCollection(Correction Text Overflow)

0.0.8 #

  • Improvement ZCollection

0.0.7 #

  • Implementation of new component(Z-Collection)!
  • New Description of component!

0.0.6 #

  • Updating description and add some examples

example/README.md

import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter/services.dart';
import 'package:provider/provider.dart';
import 'package:z_components/components/z-alert-dialog.dart';
import 'package:z_components/components/z-float-button.dart';
import 'package:z_components/config/z-button-type.dart';
import 'package:z_components/config/z-platform.dart';
import 'package:z_components/config/z-mask.dart';
import 'package:z_components/config/z-dialog.dart';
import 'package:z_components/components/z-size.dart';
import 'package:z_components/components/z_switch.dart';
import 'package:z_components/components/z_picker.dart';
import 'package:z_components/components/z_tabbar.dart';
import 'package:z_components/components/z_button.dart';
import 'package:z_components/components/z_loading.dart';
import 'package:z_components/components/z-baseline.dart';
import 'package:z_components/components/z_navigationbar.dart';
import 'package:z_components/components/z_text_field.dart';
import 'package:flutter/cupertino.dart';
import 'dart:io';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool value = false;
  DateTime selectedDate = DateTime.now();

  @override
  void initState() {
    super.initState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primaryColor: const Color(0xff2BBAB4),
        accentColor: const Color(0xff2BBAB4),
        splashColor: const Color(0xff2BBAB4),
      ),
      home: ChangeNotifierProvider<AppSwitch>(
          builder: (_) => AppSwitch(), child: Home()),
      localizationsDelegates: [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate, // if it's a RTL language
      ],
      supportedLocales: [
        if (Platform.isIOS) const Locale('en', 'US'),
        if (Platform.isAndroid) const Locale('pt', 'BR'),
      ],
    );
  }
}

class Home extends StatelessWidget {
  bool value = false;
  int index = 0;

  @override
  Widget build(BuildContext context) {
    final appSwitch = Provider.of<AppSwitch>(context);

    return Scaffold(
      floatingActionButton: ZFloatButton(
        onPressed: () {},
      ),
      appBar: new ZNavigationBar(
        //middle: IOS
        middle: new Text(
          "ZComponets",
          style: new TextStyle(color: Colors.white),
        ),
        //title: ANDROID
        title: new Text(
          "ZComponets",
          style: new TextStyle(color: Colors.white),
        ),
        centerTitle: true,
      ),
      body: new ListView(
        children: <Widget>[
          new Column(children: <Widget>[
            new ZBaseLine(
              context: context,
              title: "Nome:",
              ztextField: new ZTextField(
                  //onChanged: (text) => appSwitch.text = text,
                  ),
            ),
            new ZBaseLine(
              context: context,
              title: "Sobrenome:",
              ztextField: new ZTextField(
                  //onChanged: (text) => appSwitch.text = text,
                  ),
            ),
            new ZBaseLine(
              context: context,
              title: "CPF:",
              ztextField: new ZTextField(
                keyboardType: TextInputType.number,
                textAlign: TextAlign.end,
                zMask: ZMask.isCPF,
                //onChanged: (text) => appSwitch.text = text,
              ),
            ),
            new Container(
              child: ZTextField(
                onChanged: (text) => appSwitch.text = text,
              ),
              padding: EdgeInsets.all(8),
            ),
            ZSwitch(
                value: appSwitch.value,
                onChanged: (b) {
                  appSwitch.value = b;
                }),
            ZButton(
                zButtonType: ZButtonType.isContained,
                text: 'Contained',
                onPressed: () {
                  new ZPicker(
                    context: context,
                    initialDate: DateTime.now(),
                    lastDate: DateTime(2090),
                    firstDate: DateTime(1090),
                    onTimerDurationChanged: (date) {
                      date;
                    },
                  );
                }),
            ZButton(
                zButtonType: ZButtonType.isOutlined,
                onPressed: () {
                  new ZPicker(
                    context: context,
                    initialDate: DateTime.now(),
                    lastDate: DateTime(2090),
                    firstDate: DateTime(1090),
                    onTimerDurationChanged: (date) {
                      date;
                    },
                  );
                },
                text: "Outlined"),
            new ZSize(
              context: context,
              child: ZButton(
                text: "Dialog",
                onPressed: () {
                  showDialog(
                      context: context,
                      builder: (BuildContext context) => ZAlertDialog(
                          zDialog: ZDialog.alert,
                          child: new Column(
                            children: <Widget>[
                              new Row(
                                mainAxisAlignment: MainAxisAlignment.center,
                                children: <Widget>[
                                  new Container(
                                    margin: const EdgeInsets.only(top: 12,bottom: 12),
                                    alignment: Alignment.center,
                                      width: MediaQuery.of(context).size.width * 0.7,
                                    child:
                                    new Column(
                                      mainAxisAlignment: MainAxisAlignment.center,
                                      children: <Widget>[
                                        new Text("Uma empresa já possui seu cadastro",style: new TextStyle(fontWeight: FontWeight.bold,),textAlign: TextAlign.center,),
                                        new Container(
                                          margin: EdgeInsets.only(top: 6),
                                          child:new Text("Deseja se vincular à empresa abaixo?",style: new TextStyle(color: Color(0xfff707070),fontWeight: FontWeight.normal,fontSize: 13),),

                                        ),
                                        new Container(
                                          margin: EdgeInsets.only(top: 6),
                                          child:new Text("",style: new TextStyle(color: Color(0xfff707070),fontWeight: FontWeight.normal,fontSize: 13),),

                                        )
                                      ],
                                    ),
                                  )
                                ],
                              ),
                              new Row(
                                mainAxisAlignment: MainAxisAlignment.center,
                                children: <Widget>[
                                  new Container(
                                    height: 1,
                                    width: 280,
                                    color: Color(0xffe0e0e0),
                                  )
                                ],
                              ),
                              new Row(
                                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                                children: <Widget>[
                                  new Container(
                                      alignment: Alignment.center,
                                      margin: EdgeInsets.only(top: 0),
                                      child: new ButtonTheme(
                                        minWidth: 100,
                                        child: new RaisedButton(
                                            elevation: 0.0,
                                            color: Colors.white,
                                            child: new Text(
                                              "NÃO VINCULAR",
                                              style: new TextStyle(
                                                  color: Color(0xff707070),
                                                  fontWeight: FontWeight.normal),
                                            ),
                                            onPressed: () {
                                              Navigator.of(context).pop();
                                            },
                                            shape: new RoundedRectangleBorder(
                                                borderRadius:
                                                new BorderRadius.circular(30.0))),
                                      )),
                                  new Container(
                                      alignment: Alignment.center,
                                      margin: EdgeInsets.only(top: 0),
                                      child: new ButtonTheme(
                                        minWidth: 100,
                                        child: new RaisedButton(
                                            elevation: 0.0,
                                            color: Colors.white,
                                            child: new Text(
                                              "VINCULAR",
                                              style: new TextStyle(
                                                  color: Colors.black,
                                                  fontWeight: FontWeight.bold),
                                            ),
                                            onPressed: () {
                                              Navigator.of(context).pop();
                                            },
                                            shape: new RoundedRectangleBorder(
                                                borderRadius:
                                                new BorderRadius.circular(30.0))),
                                      )),
                                ],
                              ),
                            ],
                          )
                      ));
                },
              ),
              quadrado: false,
              percentWidth: 90,
              percentHeight: 10,
              maxHeight: 30,
            ),
            new ZLoading(
              zPlatform: ZPlatform.isAndroid,
            ),
            Text(appSwitch.text),
          ]),
        ],
      ),
      bottomNavigationBar: ZtabBar(
        backgroundColor: Colors.teal,
        items: <BottomNavigationBarItem>[
          BottomNavigationBarItem(
            icon: Icon(Icons.home),
            title: Text('Home'),
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.business),
            title: Text('Business'),
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.school),
            title: Text('School'),
          ),
        ],
        onTap: (index) => this.index = index,
        currentIndex: 0,
        iconSize: 16,
        inactiveColor: Colors.red,
        activeColor: Colors.black,
        selectedItemColor: Colors.white,
        unselectedItemColor: Colors.black45,
        // currentIndex: _selectedIndex,
      ),
    );
  }
}

class AppSwitch with ChangeNotifier {
  AppSwitch();

  bool _value = false;
  String _text = "";

  set value(bool text) {
    _value = text;
    notifyListeners();
  }

  bool get value => _value;

  set text(String text) {
    _text = text;
    notifyListeners();
  }

  String get text => _text;
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  z_components: ^0.8.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:z_components/api/identity-server/i-identity-server.dart';
import 'package:z_components/api/identity-server/identity-server.dart';
import 'package:z_components/api/quadro-pessoal-service.dart';
import 'package:z_components/api/service.dart';
import 'package:z_components/api/zcargo-service.dart';
import 'package:z_components/api/zcolaborador-service.dart';
import 'package:z_components/api/zempresa-service.dart';
import 'package:z_components/api/zescala-service.dart';
import 'package:z_components/api/zlocal-service.dart';
import 'package:z_components/api/zusuario-service.dart';
import 'package:z_components/components/z-alert-custom.dart';
import 'package:z_components/components/z-alert-dialog.dart';
import 'package:z_components/components/z-baseline.dart';
import 'package:z_components/components/z-cadastro-usuario.dart';
import 'package:z_components/components/z-cargo.dart';
import 'package:z_components/components/z-check-cpf.dart';
import 'package:z_components/components/z-collection-item.dart';
import 'package:z_components/components/z-collection-list.dart';
import 'package:z_components/components/z-collection.dart';
import 'package:z_components/components/z-empresa.dart';
import 'package:z_components/components/z-escala.dart';
import 'package:z_components/components/z-expansion-tile.dart';
import 'package:z_components/components/z-expendable-item-tile.dart';
import 'package:z_components/components/z-float-button.dart';
import 'package:z_components/components/z-header-expansion.dart';
import 'package:z_components/components/z-header.dart';
import 'package:z_components/components/z-hora-padrao.dart';
import 'package:z_components/components/z-hora-um-campo.dart';
import 'package:z_components/components/z-item-tile-usuario.dart';
import 'package:z_components/components/z-item-tile.dart';
import 'package:z_components/components/z-local.dart';
import 'package:z_components/components/z-nome-reduzido.dart';
import 'package:z_components/components/z-perfil-item.dart';
import 'package:z_components/components/z-perfil.dart';
import 'package:z_components/components/z-pin-senha.dart';
import 'package:z_components/components/z-sequencia/z-sequencia.dart';
import 'package:z_components/components/z-size.dart';
import 'package:z_components/components/z-text.dart';
import 'package:z_components/components/z-tile.dart';
import 'package:z_components/components/z_button.dart';
import 'package:z_components/components/z_loading.dart';
import 'package:z_components/components/z_navigationbar.dart';
import 'package:z_components/components/z_picker.dart';
import 'package:z_components/components/z_switch.dart';
import 'package:z_components/components/z_tabbar.dart';
import 'package:z_components/components/z_text_field.dart';
import 'package:z_components/components/zp-grafico.dart';
import 'package:z_components/config/z-button-type.dart';
import 'package:z_components/config/z-dialog.dart';
import 'package:z_components/config/z-horario-tye.dart';
import 'package:z_components/config/z-mask.dart';
import 'package:z_components/config/z-platform.dart';
import 'package:z_components/config/z-tipo-header.dart';
import 'package:z_components/config/z-tipo-senha.dart';
import 'package:z_components/config/z-tipo-textos.dart';
import 'package:z_components/config/z-tipos-baseline.dart';
import 'package:z_components/config/z-type-tile.dart';
import 'package:z_components/infra/abstract-repository.dart';
import 'package:z_components/infra/db/database-utils.dart';
import 'package:z_components/infra/db/database.dart';
import 'package:z_components/infra/entities/z-entity.dart';
import 'package:z_components/infra/interfaces/i-command.dart';
import 'package:z_components/infra/interfaces/i-context.dart';
import 'package:z_components/infra/interfaces/i-query.dart';
import 'package:z_components/infra/schema/z-column.dart';
import 'package:z_components/infra/schema/z-table.dart';
import 'package:z_components/interface/i-zcargo-service.dart';
import 'package:z_components/interface/i-zcolaborador-service.dart';
import 'package:z_components/interface/i-zempresa-service.dart';
import 'package:z_components/interface/i-zescala-service.dart';
import 'package:z_components/interface/i-zlocal-service.dart';
import 'package:z_components/interface/i-zusuario-service.dart';
import 'package:z_components/settings/api-settings.dart';
import 'package:z_components/styles/main-style.dart';
import 'package:z_components/styles/media-query-parameters.dart';
import 'package:z_components/styles/media-query.dart';
import 'package:z_components/view-model/cargo-viewmodel.dart';
import 'package:z_components/view-model/centrocusto-viewmodel.dart';
import 'package:z_components/view-model/colaborador-viewmodel.dart';
import 'package:z_components/view-model/company-components-viewmodel.dart';
import 'package:z_components/view-model/escala-viewmodel.dart';
import 'package:z_components/view-model/filtro-viewmodel.dart';
import 'package:z_components/view-model/posicao-alocacao-sequencia-viewmodel.dart';
import 'package:z_components/view-model/user-claims.dart';
import 'package:z_components/view-model/usuario-viewmodel.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
76
Health:
Code health derived from static analysis. [more]
88
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
78
Learn more about scoring.

We analyzed this package on Nov 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/api/identity-server/identity-server.dart. (-1.49 points)

Analysis of lib/api/identity-server/identity-server.dart reported 3 hints:

line 1 col 8: Unused import: 'dart:io'.

line 2 col 8: Unused import: 'package:z_components/view-model/user-claims.dart'.

line 3 col 8: Unused import: 'i-identity-server.dart'.

Fix lib/components/z-collection.dart. (-1 points)

Analysis of lib/components/z-collection.dart reported 2 hints:

line 69 col 28: The target expression uses '?.', so its value can be null.

line 70 col 36: The target expression uses '?.', so its value can be null.

Fix lib/settings/api-settings.dart. (-1 points)

Analysis of lib/settings/api-settings.dart reported 2 hints:

line 3 col 17: Name non-constant identifiers using lowerCamelCase.

line 4 col 17: Name non-constant identifiers using lowerCamelCase.

Fix additional 71 files with analysis or formatting issues. (-9.50 points)

Additional issues in the following files:

  • lib/api/identity-server/i-identity-server.dart (1 hint)
  • lib/api/quadro-pessoal-service.dart (1 hint)
  • lib/api/zcargo-service.dart (1 hint)
  • lib/api/zcolaborador-service.dart (1 hint)
  • lib/api/zempresa-service.dart (1 hint)
  • lib/api/zusuario-service.dart (1 hint)
  • lib/components/z-alert-dialog.dart (1 hint)
  • lib/components/z-baseline.dart (1 hint)
  • lib/components/z-cadastro-usuario.dart (1 hint)
  • lib/components/z-float-button.dart (1 hint)
  • lib/components/z-hora-um-campo.dart (1 hint)
  • lib/components/z-pin-senha.dart (1 hint)
  • lib/components/z-size.dart (1 hint)
  • lib/components/z_button.dart (1 hint)
  • lib/components/z_loading.dart (1 hint)
  • lib/components/z_navigationbar.dart (1 hint)
  • lib/components/z_switch.dart (1 hint)
  • lib/components/z_tabbar.dart (1 hint)
  • lib/components/z_text_field.dart (1 hint)
  • lib/api/service.dart (Run flutter format to format lib/api/service.dart.)
  • lib/api/zescala-service.dart (Run flutter format to format lib/api/zescala-service.dart.)
  • lib/api/zlocal-service.dart (Run flutter format to format lib/api/zlocal-service.dart.)
  • lib/components/z-alert-custom.dart (Run flutter format to format lib/components/z-alert-custom.dart.)
  • lib/components/z-cargo.dart (Run flutter format to format lib/components/z-cargo.dart.)
  • lib/components/z-check-cpf.dart (Run flutter format to format lib/components/z-check-cpf.dart.)
  • lib/components/z-collection-item.dart (Run flutter format to format lib/components/z-collection-item.dart.)
  • lib/components/z-collection-list.dart (Run flutter format to format lib/components/z-collection-list.dart.)
  • lib/components/z-empresa.dart (Run flutter format to format lib/components/z-empresa.dart.)
  • lib/components/z-escala.dart (Run flutter format to format lib/components/z-escala.dart.)
  • lib/components/z-expansion-tile.dart (Run flutter format to format lib/components/z-expansion-tile.dart.)
  • lib/components/z-expendable-item-tile.dart (Run flutter format to format lib/components/z-expendable-item-tile.dart.)
  • lib/components/z-header-expansion.dart (Run flutter format to format lib/components/z-header-expansion.dart.)
  • lib/components/z-hora-padrao.dart (Run flutter format to format lib/components/z-hora-padrao.dart.)
  • lib/components/z-item-tile-usuario.dart (Run flutter format to format lib/components/z-item-tile-usuario.dart.)
  • lib/components/z-item-tile.dart (Run flutter format to format lib/components/z-item-tile.dart.)
  • lib/components/z-nome-reduzido.dart (Run flutter format to format lib/components/z-nome-reduzido.dart.)
  • lib/components/z-perfil-item.dart (Run flutter format to format lib/components/z-perfil-item.dart.)
  • lib/components/z-perfil.dart (Run flutter format to format lib/components/z-perfil.dart.)
  • lib/components/z-text.dart (Run flutter format to format lib/components/z-text.dart.)
  • lib/components/zp-grafico.dart (Run flutter format to format lib/components/zp-grafico.dart.)
  • lib/config/z-button-type.dart (Run flutter format to format lib/config/z-button-type.dart.)
  • lib/config/z-dialog.dart (Run flutter format to format lib/config/z-dialog.dart.)
  • lib/config/z-horario-tye.dart (Run flutter format to format lib/config/z-horario-tye.dart.)
  • lib/config/z-mask.dart (Run flutter format to format lib/config/z-mask.dart.)
  • lib/config/z-tipo-header.dart (Run flutter format to format lib/config/z-tipo-header.dart.)
  • lib/config/z-tipo-senha.dart (Run flutter format to format lib/config/z-tipo-senha.dart.)
  • lib/config/z-tipo-textos.dart (Run flutter format to format lib/config/z-tipo-textos.dart.)
  • lib/config/z-type-tile.dart (Run flutter format to format lib/config/z-type-tile.dart.)
  • lib/infra/abstract-repository.dart (Run flutter format to format lib/infra/abstract-repository.dart.)
  • lib/infra/db/database-utils.dart (Run flutter format to format lib/infra/db/database-utils.dart.)
  • lib/infra/entities/z-entity.dart (Run flutter format to format lib/infra/entities/z-entity.dart.)
  • lib/infra/interfaces/i-command.dart (Run flutter format to format lib/infra/interfaces/i-command.dart.)
  • lib/infra/interfaces/i-context.dart (Run flutter format to format lib/infra/interfaces/i-context.dart.)
  • lib/infra/interfaces/i-query.dart (Run flutter format to format lib/infra/interfaces/i-query.dart.)
  • lib/infra/schema/z-column.dart (Run flutter format to format lib/infra/schema/z-column.dart.)
  • lib/infra/schema/z-table.dart (Run flutter format to format lib/infra/schema/z-table.dart.)
  • lib/interface/i-zcargo-service.dart (Run flutter format to format lib/interface/i-zcargo-service.dart.)
  • lib/interface/i-zcolaborador-service.dart (Run flutter format to format lib/interface/i-zcolaborador-service.dart.)
  • lib/interface/i-zempresa-service.dart (Run flutter format to format lib/interface/i-zempresa-service.dart.)
  • lib/interface/i-zescala-service.dart (Run flutter format to format lib/interface/i-zescala-service.dart.)
  • lib/interface/i-zlocal-service.dart (Run flutter format to format lib/interface/i-zlocal-service.dart.)
  • lib/interface/i-zusuario-service.dart (Run flutter format to format lib/interface/i-zusuario-service.dart.)
  • lib/styles/main-style.dart (Run flutter format to format lib/styles/main-style.dart.)
  • lib/styles/media-query-parameters.dart (Run flutter format to format lib/styles/media-query-parameters.dart.)
  • lib/styles/media-query.dart (Run flutter format to format lib/styles/media-query.dart.)
  • lib/view-model/cargo-viewmodel.dart (Run flutter format to format lib/view-model/cargo-viewmodel.dart.)
  • lib/view-model/centrocusto-viewmodel.dart (Run flutter format to format lib/view-model/centrocusto-viewmodel.dart.)
  • lib/view-model/company-components-viewmodel.dart (Run flutter format to format lib/view-model/company-components-viewmodel.dart.)
  • lib/view-model/escala-viewmodel.dart (Run flutter format to format lib/view-model/escala-viewmodel.dart.)
  • lib/view-model/filtro-viewmodel.dart (Run flutter format to format lib/view-model/filtro-viewmodel.dart.)
  • lib/view-model/posicao-alocacao-sequencia-viewmodel.dart (Run flutter format to format lib/view-model/posicao-alocacao-sequencia-viewmodel.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-30 points)

The version constraint in pubspec.yaml does not support the latest published versions for 3 dependencies (cached_network_image, dio, provider).

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
cached_network_image ^1.1.1 1.1.3 2.0.0-rc.1
configurable_expansion_tile ^1.0.0 1.0.0
cpf_cnpj_validator ^1.0.5 1.0.5
dio ^2.0.4 2.2.2 3.0.5
email_validator ^1.0.0 1.0.0
flutter 0.0.0
flutter_circular_chart ^0.1.0 0.1.0
flutter_localizations 0.0.0
http ^0.12.0+1 0.12.0+2
injector ^1.0.8 1.0.8
mask_shifter ^0.1.0 0.1.0
mask_text_input_formatter ^1.0.2 1.0.5
path_provider ^1.2.0 1.4.4
pin_code_text_field ^1.3.6 1.4.0
provider ^2.0.1 2.0.1+1 3.1.0+1
shared_preferences ^0.5.3+1 0.5.4+5
sqflite ^1.1.6+4 1.1.7+2
Transitive dependencies
async 2.3.0 2.4.0
boolean_selector 1.0.5
charcode 1.1.2
collection 1.14.11 1.14.12
convert 2.1.1
cookie_jar 1.0.1
crypto 2.1.3
flutter_cache_manager 1.1.3
http_parser 3.1.3
intl 0.15.8 0.16.0
matcher 0.12.5 0.12.6
meta 1.1.7 1.1.8
path 1.6.4
pedantic 1.8.0+1
platform 2.2.1
quiver 2.0.5 2.1.2+1
sky_engine 0.0.99
source_span 1.5.5
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
synchronized 2.1.0+1
term_glyph 1.1.0
test_api 0.2.5 0.2.11
typed_data 1.1.6
uuid 2.0.4
vector_math 2.0.8
Dev dependencies
flutter_test 0.0.0