rapido 0.2.4 copy "rapido: ^0.2.4" to clipboard
rapido: ^0.2.4 copied to clipboard

Rapid Application Development for Flutter. Automatically persisting user data, and creates default CRUD UI.

example/main.dart

import 'package:flutter/material.dart';
import 'package:rapido/rapido.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Rapido Demo',
      home: RapidoExample(title: 'Rapdio'),
    );
  }
}

class RapidoExample extends StatefulWidget {
  RapidoExample({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _RapidoExampleState createState() => _RapidoExampleState();
}

class _RapidoExampleState extends State<RapidoExample> {
  // Create a Document with a documentType string of your choice.
  // Include a map of lables for the fields in the document type.
  final DocumentList documentList = DocumentList(
    "task list",
    labels: {
      "Complete": "done?",
      "Date": "date",
      "Title": "title",
      "Note": "subtitle",
      "Priorty": "pri count"
    },
  );

  // Build a DocumentListScaffold to provide the UI for users to
  // create, edit, and delete documents
  @override
  Widget build(BuildContext context) {
    return DocumentListScaffold(
      documentList,
      title: "Tasks",
    );
  }
}
13
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Rapid Application Development for Flutter. Automatically persisting user data, and creates default CRUD UI.

Repository (GitLab)
View/report issues

License

BSD-2-Clause (license)

Dependencies

datetime_picker_formfield, flutter, flutter_secure_storage, google_maps_flutter, image_picker, intl, location, numberpicker, parse_server_sdk, passwordfield, path, path_provider, validators

More

Packages that depend on rapido