flutter_gherkin_addons 0.1.6 copy "flutter_gherkin_addons: ^0.1.6" to clipboard
flutter_gherkin_addons: ^0.1.6 copied to clipboard

A Library for set of addons that can be used with flutter gherkin prominant of them being 1. Dynamic Stubbing utility 2. One line configuration 3.DSL for gherkin steps

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:persona/Config.dart';
import 'package:persona/view/HomePage.dart';
void main() => runApp(PersonaApp('prod'));

class PersonaApp extends StatelessWidget {
  static Future<Config> config;
  String env;
  PersonaApp(this.env);

  @override
  Widget build(BuildContext context) {
    config = getConfig(env);
    return MaterialApp(
      title: 'Persona App',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: HomePage(title: 'List of Persons'),
    );
  }
}
4
likes
40
pub points
18%
popularity

Publisher

unverified uploader

A Library for set of addons that can be used with flutter gherkin prominant of them being 1. Dynamic Stubbing utility 2. One line configuration 3.DSL for gherkin steps

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, flutter_driver, flutter_gherkin, gherkin, glob, mock_web_server, path, yaml

More

Packages that depend on flutter_gherkin_addons