flutterskel 0.0.16

  • Readme
  • Changelog
  • Example
  • Installing
  • 43

flutterskel #

A flutter package that provides the basic architecture

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

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

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.


  • Changed provider to builder based


  • Exposed a few methods from ProviderBuilder


  • Exposed buildTheme instead of buildThemeRepository in ProviderBuilder


  • Added getScreenWidget method in UrlRouter


  • Removed unrequired and possibly buggy casting on StringsRepository


import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';

import 'repositories/ProviderBuilder.dart';
import 'ui/screens/HomeScreenWidget.dart';

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

class MyApp extends StatelessWidget {

  // This widget is the root of your application.
  Widget build(BuildContext context) {

    return ProviderBuilder()
        child: HomeScreenWidget()

  void setupSystemOverlay() {
        statusBarIconBrightness: Brightness.light,
        statusBarColor: Colors.transparent,
        systemNavigationBarColor: Colors.black,
        systemNavigationBarIconBrightness: Brightness.dark


Use this package as a library

1. Depend on it

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

  flutterskel: ^0.0.16

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:flutterskel/configuration/Configuration.dart';
import 'package:flutterskel/provider/ProviderBuilder.dart';
import 'package:flutterskel/resources/colors/ColorResources.dart';
import 'package:flutterskel/resources/dimensions/DimensionResources.dart';
import 'package:flutterskel/resources/fonts/FontResources.dart';
import 'package:flutterskel/resources/strings/StringResources.dart';
import 'package:flutterskel/resources/strings/StringsRepository.dart';
import 'package:flutterskel/resources/themes/ThemeRepository.dart';
import 'package:flutterskel/resources/themes/ThemeResources.dart';
import 'package:flutterskel/routing/page/PageRouter.dart';
import 'package:flutterskel/routing/url/UrlRouter.dart';
import 'package:flutterskel/userinformation/UserInformationRepository.dart';
import 'package:flutterskel/userinformation/UserProfileModel.dart';
import 'package:flutterskel/widgets/stateful/RawBaseStatefulWidget.dart';
import 'package:flutterskel/widgets/stateless/RawStatelessWidgetClass.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.5.1
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.4


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/resources/colors/ColorResources.dart. (-0.50 points)

Analysis of lib/resources/colors/ColorResources.dart reported 1 hint:

line 3 col 8: Unused import: 'package:flutter/foundation.dart'.

Format lib/configuration/Configuration.dart.

Run flutter format to format lib/configuration/Configuration.dart.

Format lib/provider/ProviderBuilder.dart.

Run flutter format to format lib/provider/ProviderBuilder.dart.

Fix additional 12 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/resources/dimensions/DimensionResources.dart (Run flutter format to format lib/resources/dimensions/DimensionResources.dart.)
  • lib/resources/fonts/FontResources.dart (Run flutter format to format lib/resources/fonts/FontResources.dart.)
  • lib/resources/strings/StringResources.dart (Run flutter format to format lib/resources/strings/StringResources.dart.)
  • lib/resources/strings/StringsRepository.dart (Run flutter format to format lib/resources/strings/StringsRepository.dart.)
  • lib/resources/themes/ThemeRepository.dart (Run flutter format to format lib/resources/themes/ThemeRepository.dart.)
  • lib/resources/themes/ThemeResources.dart (Run flutter format to format lib/resources/themes/ThemeResources.dart.)
  • lib/routing/page/PageRouter.dart (Run flutter format to format lib/routing/page/PageRouter.dart.)
  • lib/routing/url/UrlRouter.dart (Run flutter format to format lib/routing/url/UrlRouter.dart.)
  • lib/userinformation/UserInformationRepository.dart (Run flutter format to format lib/userinformation/UserInformationRepository.dart.)
  • lib/userinformation/UserProfileModel.dart (Run flutter format to format lib/userinformation/UserProfileModel.dart.)
  • lib/widgets/stateful/RawBaseStatefulWidget.dart (Run flutter format to format lib/widgets/stateful/RawBaseStatefulWidget.dart.)
  • lib/widgets/stateless/RawStatelessWidgetClass.dart (Run flutter format to format lib/widgets/stateless/RawStatelessWidgetClass.dart.)

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://github.com/shannonrodricks/flutterskel was unreachable.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

The package description is too short. (-6 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.0 <3.0.0
flutter 0.0.0
provider >=3.0.0+1 <4.0.0 3.1.0+1
rxdart >=0.22.0 <1.0.0 0.22.4
shared_preferences >=0.5.3+2 <1.0.0 0.5.3+5
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies