Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edufolly/folly_fields
Basic form fields and utilities. Maybe a humble Flutter project boilerplate.
https://github.com/edufolly/folly_fields
boilerplate brazil crud dart flutter flutter-package folly-fields hacktoberfest mvc-framework
Last synced: 7 days ago
JSON representation
Basic form fields and utilities. Maybe a humble Flutter project boilerplate.
- Host: GitHub
- URL: https://github.com/edufolly/folly_fields
- Owner: edufolly
- License: mit
- Created: 2020-11-28T00:27:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-02T21:34:54.000Z (about 2 months ago)
- Last Synced: 2024-12-07T01:03:56.640Z (19 days ago)
- Topics: boilerplate, brazil, crud, dart, flutter, flutter-package, folly-fields, hacktoberfest, mvc-framework
- Language: Dart
- Homepage: https://edufolly.github.io/folly_fields/
- Size: 81.3 MB
- Stars: 32
- Watchers: 6
- Forks: 13
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# FollyFields
[![Build With Love](https://img.shields.io/badge/%20built%20with-%20%E2%9D%A4-ff69b4.svg)](https://github.com/edufolly/folly_fields/stargazers)
[![Version](https://img.shields.io/pub/v/folly_fields?color=orange)](https://pub.dev/packages/folly_fields)
[![Licence](https://img.shields.io/github/license/edufolly/folly_fields?color=blue)](https://github.com/edufolly/folly_fields/blob/main/LICENSE)
[![Build](https://img.shields.io/github/actions/workflow/status/edufolly/folly_fields/main.yml?branch=main)](https://github.com/edufolly/folly_fields/releases/latest)
[![Coverage Report](https://img.shields.io/badge/coverage-report-C08EA1)](https://edufolly.github.io/folly_fields/coverage/html/)Basic form fields and utilities. Maybe a humble boilerplate.
## Funding
[![BuyMeACoffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg)](https://www.buymeacoffee.com/edufolly)
## Community
## Example
### Demo
https://edufolly.github.io/folly_fields/
### Code
https://github.com/edufolly/folly_fields/tree/main/example/lib
## How to use
### pubspec.yaml
``` yaml
dependencies:flutter:
sdk: flutter
flutter_localizations:
sdk: flutter# https://pub.dev/packages/folly_fields
folly_fields: x.y.z # lastest pub.dev release
```Check [pub.dev latest release](https://pub.dev/packages/folly_fields).
For edge builds, replace pub.dev version to git repo:
``` yaml
# https://github.com/edufolly/folly_fields
folly_fields:
git:
url: https://github.com/edufolly/folly_fields.git
ref: v0.0.1 # latest release or branch name
```Use **ref** to avoid breaking changes.
Check [GitHub latest release](https://github.com/edufolly/folly_fields/releases).### config.dart
https://github.com/edufolly/folly_fields/blob/main/example/lib/config.dart
```dart
class Config extends AbstractConfig {
static final Config _singleton = Config._internal();factory Config() {
return _singleton;
}Config._internal();
/// Content...
}
```### main.dart
https://github.com/edufolly/folly_fields/blob/main/example/lib/main.dart
```dart
void main() {
WidgetsFlutterBinding.ensureInitialized();FollyFields.start(Config());
runApp(MyApp());
}
```### MaterialApp
https://github.com/edufolly/folly_fields/blob/main/example/lib/main.dart
```dart
class MyApp extends StatelessWidget {@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Folly Fields Example',
theme: ThemeData(
primarySwatch: Colors.deepOrange,
),
home: const MyHomePage(),
localizationsDelegates: const >[
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('pt', 'BR'),
],
);
}
}
```