Nylo Framework

website·Indexed 32 days ago

https://nylo.dev/docs/7.x/installation

A micro-framework for Flutter designed to simplify app development. Documentation covers version v7.x.

Tokens
560
Snippets
0
Records
4
Agent score
17%

What's inside Nylo

  1. Overview of the Nylo Flutter Framework

    Nylo is a micro-framework for Flutter designed to simplify application development. It provides a structured approach to building apps, featuring a directory structure inspired by Laravel and a comprehensive set of built-in tools for routing, networking, themes, and code generation.
  2. Advanced Nylo Framework Capabilities

    For complex application requirements, Nylo v7 offers:

    • State Management: State managed widgets that allow updating specific UI parts without rebuilding entire pages.
    • Background & Scheduling: A Scheduler for one-time or recurring tasks and a Local Notification system.
    • Deep Linking: First-class support powered by the app_links package.
    • App Monitoring: Built-in app usage monitoring (must be enabled in an app provider).
    • Testing: A testing framework inspired by Laravel's testing utilities.
    • Metro Live: Ability to interact with a running app in debug/profile mode via the Dart VM service.
  3. Nylo v7 Core Feature Set

    Nylo v7 includes several built-in systems to accelerate Flutter development:

    • Routing & Navigation: A dedicated Router for page management and Route Guards for navigation middleware.
    • Data & State: NyStorage for persistent storage, Backpack for in-memory singleton storage, and NyState (an extension of Flutter's State class).
    • Networking & API: Simplified networking tools and Decoders to transform data into objects/classes.
    • Authentication & Validation: A comprehensive Auth class for authentication and FormValidator for input validation.
    • CLI Tooling: The Metro CLI tool for project management, which can be extended via custom Commands.
    • Utilities: Static helper classes including Arr, Str, Number, and Obj.
  4. Nylo v7 Specialized UI Widgets

    Nylo provides a library of enhanced widgets to reduce boilerplate:

    • Data Display: CollectionView (type-safe list wrapper) and FutureWidget (renders Futures).
    • Forms & Input: InputField (enhanced text field) and NyFormWidget (form system).
    • UI Layout: Spacing (consistent element spacing) and FadeOverlay (gradient fade effects).
    • Interactivity: Pullable (pull-to-refresh/load-more), Button (8 pre-built styles), and Modals (bottom sheet system).
    • Localization: TextTr (automatic translation wrapper) and LanguageSwitcher.