z_components 0.8.5

  • Readme
  • Changelog
  • Example
  • Installing
  • 71

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.5 #

  • uptade cached image!

0.8.4 #

  • uptade ZPinSenha!

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.5

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or 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/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-button-card-box.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/usuario-viewmodel.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
68
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
71
Learn more about scoring.

We analyzed this package on Jan 24, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health suggestions

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

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

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

line 69 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 2 col 17: Name non-constant identifiers using lowerCamelCase.

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

Fix lib/api/quadro-pessoal-service.dart. (-0.50 points)

Analysis of lib/api/quadro-pessoal-service.dart reported 1 hint:

line 12 col 7: Name non-constant identifiers using lowerCamelCase.

Fix additional 17 files with analysis or formatting issues. (-8.50 points)

Additional issues in the following files:

  • 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)

Maintenance issues and suggestions

No valid SDK. (-20 points)

The analysis could not detect a valid SDK that can use this package.

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/styles/media-query.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/styles/media-query-parameters.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/styles/main-style.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/settings/api-settings.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zempresa-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zcargo-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zusuario-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zlocal-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zescala-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/interface/i-zcolaborador-service.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/abstract-repository.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/entities/z-entity.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/interfaces/i-context.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/interfaces/i-command.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/interfaces/i-query.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/db/database-utils.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/db/database.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/schema/z-table.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/infra/schema/z-column.dart... parsing /tmp/pub-dartlang-dartdocSAJFYP/pkg/lib/config/z-horario-tye.dart... [...] parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/vector_math-2.0.8/lib/vector_math.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/vector_math-2.0.8/lib/vector_math_lists.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/vector_math-2.0.8/lib/vector_math_geometry.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/collection-1.14.11/lib/algorithms.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/collection-1.14.11/lib/iterable_zip.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/collection-1.14.11/lib/priority_queue.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/collection-1.14.11/lib/wrappers.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/collection-1.14.11/lib/equality.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/synchronized-2.2.0/lib/extension.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/http-0.12.0+4/lib/io_client.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/http-0.12.0+4/lib/browser_client.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/http-0.12.0+4/lib/testing.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/intl_standalone.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/date_symbol_data_file.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/date_symbol_data_local.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/date_symbol_data_custom.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/intl_browser.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/message_lookup_by_library.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/date_time_patterns.dart... parsing /tmp/pub-cache-dirKBAKAX/hosted/pub.dartlang.org/intl-0.16.0/lib/date_symbol_data_http_request.dart... stderr: Documenting z_components... Unhandled exception: Stack Overflow #0 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1175:3) #1 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #2 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #3 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #4 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #5 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #6 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #7 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #8 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #9 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #10 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #11 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #12 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #13 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #14 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #15 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #16 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #17 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #18 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #19 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #20 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #21 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #22 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #23 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #24 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #25 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #26 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #27 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #28 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #29 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #30 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #31 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #32 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #33 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #34 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #35 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #36 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1321:13) #37 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #38 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) #39 Dart2TypeSystem._isInterfaceSubtypeOf (package:analyzer/src/generated/type_system.dart:2197:16) #40 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1388:14) #41 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1367:11) #42 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1289:14) #43 Dart2TypeSystem.isSubtypeOf (package:analyzer/src/generated/type_system.dart:1282:14) ... ... #6871 InferenceContext.popReturnContext (package:analyzer/src/generated/resolver.dart:135:23) #6872 ResolverVisitor.visitExpressionFunctionBody (package:analyzer/src/generated/resolver.dart:1023:24) #6873 FunctionExpressionImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3511:15) #6874 UnifyingAstVisitor.visitFunctionExpression (package:analyzer/dart/ast/visitor.dart:2140:2) #6875 ScopedVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:2643:15) #6876 ResolverVisitor.visitFunctionExpression (package:analyzer/src/generated/resolver.dart:1308:13) #6877 FunctionExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:4969:49) #6878 ArgumentListImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:7520:20) #6879 ResolverVisitor.visitArgumentList (package:analyzer/src/generated/resolver.dart:1552:10) #6880 ResolverVisitor.visitInstanceCreationExpression (package:analyzer/src/generated/resolver.dart:278:37) #6881 InstanceCreationExpressionImpl.accept (package:analyzer/src/dart/ast/ast.dart:6048:15) #6882 ExpressionFunctionBodyImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3515:18) #6883 ScopedVisitor.visitExpressionFunctionBody (package:analyzer/src/generated/resolver.dart:1552:10) #6884 ResolverVisitor.visitExpressionFunctionBody (package:analyzer/src/generated/resolver.dart:1011:13) #6885 MethodDeclarationImpl.visitChildren (package:analyzer/src/dart/ast/ast.dart:3511:15) #6886 ResolverVisitor.visitNode (package:analyzer/src/generated/resolver.dart:1552:10) #6887 ScopedVisitor.visitMethodDeclaration (package:analyzer/src/generated/resolver.dart:2406:10) #6888 ResolverVisitor.visitMethodDeclaration (package:analyzer/src/generated/resolver.dart:1488:13) #6889 MethodDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:6943:49) #6890 ScopedVisitor.visitClassDeclaration (package:analyzer/src/generated/resolver.dart:3096:112088) #6891 ResolverVisitor.visitClassDeclaration (package:analyzer/src/generated/resolver.dart:764:13) #6892 ClassDeclarationImpl.accept (package:analyzer/src/dart/ast/ast.dart:1519:49) #6893 ResolverVisitor.visitCompilationUnit (package:analyzer/src/generated/resolver.dart:806:23) #6894 CompilationUnitImpl.accept (package:analyzer/src/dart/ast/ast.dart:2095:49) #6895 LibraryAnalyzer._resolveFile (package:analyzer/src/dart/analysis/library_analyzer.dart:717:10) #6896 LibraryAnalyzer.analyzeSync.

Support latest dependencies. (-20 points)

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
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.8
email_validator ^1.0.0 1.0.4
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+4
injector ^1.0.8 1.0.8
mask_shifter ^0.1.0 0.1.0
mask_text_input_formatter ^1.0.2 1.0.6
pin_code_text_field ^1.5.0 1.5.1
provider ^2.0.1 2.0.1+1 4.0.2
shared_preferences ^0.5.3+1 0.5.6+1
sqflite ^1.1.6+4 1.2.0
Transitive dependencies
archive 2.0.11 2.0.13
args 1.5.2
async 2.4.0
boolean_selector 1.0.5 2.0.0
charcode 1.1.2
collection 1.14.11 1.14.12
convert 2.1.1
cookie_jar 1.0.1
crypto 2.1.3 2.1.4
flutter_web_plugins 0.0.0
http_parser 3.1.3
image 2.1.4 2.1.12
intl 0.16.0 0.16.1
matcher 0.12.6
meta 1.1.8
path 1.6.4
pedantic 1.8.0+1 1.9.0
petitparser 2.4.0 3.0.0
quiver 2.0.5 2.1.2+1
shared_preferences_macos 0.0.1+4
shared_preferences_platform_interface 1.0.1
shared_preferences_web 0.1.2+3
sky_engine 0.0.99
source_span 1.5.5 1.6.0
stack_trace 1.9.3
stream_channel 2.0.0
string_scanner 1.0.5
synchronized 2.2.0
term_glyph 1.1.0
test_api 0.2.11 0.2.13
typed_data 1.1.6
vector_math 2.0.8
xml 3.5.0 3.7.0
Dev dependencies
flutter_test 0.0.0