flutter_gherkin_addons 0.1.1 flutter_gherkin_addons: ^0.1.1 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
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'),
);
}
}