equinox 0.3.3

equinox #

Eva Design System Pub

A Eva Design implementation in Flutter.

Screenshots #

Tutorials and documentation #

You can check out the documentation in here, and wiki in here.

Getting started #

Depend on it #

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

dependencies:
  equinox: ^0.3.3

Install it #

You can install packages from the command line:

$ flutter pub get

Import it #

Now in your Dart code, you can use:

import 'package:equinox/equinox.dart';

Setup #

You have to replace MaterialApp or CupertinoApp with EquinoxApp.

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return EquinoxApp(
      theme: EqThemes.defaultLightTheme,
      title: 'Flutter Demo',
      home: HomePage(),
    );
  }
}

Then, instead of a Scaffold you have to use EqLayout.

@override
Widget build(BuildContext context) {
  return EqLayout(
    appBar: EqAppBar(
      centerTitle: true,
      title: 'Auth test',
      subtitle: 'v0.0.3',
    ),
    child: MyBody(),
  );
}

Use it #

Every widget in Equinox is prefixed with Eq. For example, EqButton, EqTabs, etc.

EqButton(
  appearance: WidgetAppearance.ghost,
  onTap: () {},
  label: 'Log in',
  size: WidgetSize.large,
  status: WidgetStatus.primary,
),

Customization #

Customization is done using stylist. I will write a guide on styling your app soon.

Other Eva Design implementations #

Icons #

The Eva Icons Flutter package is already integrated into Equinox, so you can use it right away by using EvaIcons.

Credits #

Contact me #

E-Mail: kk.erzhan@gmail.com

0.3.3 #

  • Minor AppBar sizing fix

0.3.2 #

  • Fixed issue #8

0.3.1 #

  • Breaking changes:
  • Added leading, trailing, padding, and other stuff into EqButton.
  • Added more customization for EqTabs.
  • Changed EqTabData.
  • Added EqTabData.fromIcon().
  • Couple more bugfixes.

0.2.4 #

  • Another EqButton hotfix.

0.2.3 #

  • Fixed a bug in EqButton.

0.2.2 #

  • Added foregroundColor and backgroundColor to EqButton.
  • Added iconSize to EqTab.

0.2.1 #

  • A huge theming update - everything is written from scratch, now uses stylist to theme the app.

0.1.4 #

  • Calendar updates, now production-ready.

0.1.3 #

  • Added new widget - EqTabBar, a wrapper for EqTabs. Has two constructors, EqTabBar.top() and EqTabBar.bottom() to use as top tab bar and bottom tab bar.
  • Added slot for bottom tab bar in EqLayout.

0.1.2 #

  • Added support for global widgets theming.
  • Added public API documentation.

0.1.1 #

  • Breaking changes: Themes has been renamed to EqThemes.
  • Added methods for custom theming: EqThemeData.loadFromAsset, EqThemeData.loadFromJson. You can use these methods with Eva Color Generator.
  • Will start working on documenting public API.

0.0.13 #

  • Fixed #7 (AppBar unused space).
  • Added calendar (unfinished).

0.0.12 #

  • Added EqText.

0.0.11 #

  • Added EqProgressBar.

0.0.10 #

  • Added EqAppBar.withoutTitle() method to fix #6.

0.0.9 #

  • Added EqDialogService and dialogs.

0.0.8 #

  • Added EqToastService and toasts.
  • Couple of bugfixes

0.0.7 #

  • A ton of bugfixes
  • Added Showcase app (equinox_visualqa)

0.0.6 #

  • Fixed bug #4
  • Fixed issues with OutlinedWidget
  • Fixed issues with outline and EqIconButton

0.0.5 #

  • Added EqSpinner widget

0.0.4 #

  • Fixed few bugs in OutlinedWidget, updated screenshots

0.0.3 #

  • Fixed few critical bugs #2 and #3, added example

0.0.2 #

  • Changed README, formatted files.

0.0.1 #

  • Initial release

example/README.md

example #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

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


dependencies:
  equinox: ^0.3.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:equinox/equinox.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
74
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
87
Learn more about scoring.

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

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
eva_icons_flutter ^2.0.0 2.0.0
flutter 0.0.0
stylist ^0.0.4 0.0.4
vector_math ^2.0.8 2.0.8
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
Dev dependencies
flutter_test