Flutter First-Party Packages

repository·main·Indexed 26 days ago

https://github.com/flutter/packages

Source code for first-party packages developed by the core Flutter team. Includes documentation for the animations package (Material motion transition patterns) and the camera plugin, including platform-specific implementations for Android (CameraX and Camera2), iOS (AVFoundation), Web, and Windows.

Tokens
102.1K
Snippets
269
Records
639
Agent score
88%

What's inside flutter-packages

  1. Overview of l10n scripts

    main

    The script/l10n directory contains Dart scripts used for generating localizations. Currently, these scripts are primarily utilized by the material_ui and cupertino_ui packages. For specific implementation details and full instructions for those packages, refer to their respective local documentation:

    • packages/material_ui/lib/src/l10n/README.md
    • packages/cupertino_ui/lib/src/l10n/README.md.
  2. Overview of the cupertino_ui package

    main

    The cupertino_ui package is the official standalone Cupertino widget library for Flutter. It provides high-fidelity visual components that implement the iOS design language. This package is being decoupled from the core Flutter framework (package:flutter/cupertino.dart) to allow for faster iteration and a more modular ecosystem.

    Key components include:

    • Structure: CupertinoPageScaffold, CupertinoNavigationBar
    • Inputs: CupertinoButton, CupertinoTextField, CupertinoSwitch
    • Dialogs: CupertinoAlertDialog, CupertinoActionSheet
  3. Overview of go_router

    main
    go_router is a declarative routing package for Flutter that utilizes the Router API to provide a convenient, URL-based API for navigation. It allows developers to define URL patterns, navigate via URLs, handle deep links, and manage complex navigation scenarios such as sub-routes and redirection.
  4. Overview of vector_graphics_codec

    main

    The vector_graphics_codec package provides an encoding library specifically designed for use with package:vector_graphics.

    Important Usage Notes:

    • Tight Coupling: This package is intentionally tightly coupled with package:vector_graphics_compiler and package:vector_graphics.
    • No Stability Guarantees: The format produced by this codec has no stability guarantees between different versions.
    • Intended Use: This codec is not intended for use outside of the vector_graphics ecosystem or the compiler.
  5. Overview of Flutter Packages repository

    main
    This repository contains the source code for Flutter's first-party packages, which are developed by the core Flutter team. While the source code lives here, these packages are primarily consumed via pub.dev. To explore the available packages, check the packages directory in this repository.
  6. Overview of IMA client-side SDK components

    main

    Implementing IMA client-side involves five main components:

    • AdDisplayContainer: A container object where ads are rendered.
    • AdsLoader: Requests ads and handles events from ads request responses. You should only instantiate one ads loader at a time, which can be reused throughout the lifecycle of a page.
    • AdsRequest: An object that defines an ads request, specifying the VAST ad tag URL and additional parameters like ad dimensions.
    • AdsManager: Contains the response to the ads request, controls ad playback, and listens for ad events.
    • AdsManagerDelegate: Handles ad events and errors that occur during ad or stream initialization and playback.
  7. Overview of Remote Flutter Widgets (RFW)

    main
    The rfw package provides a mechanism for rendering Flutter widgets based on declarative UI descriptions that are fetched at runtime. This allows applications to update their user interface dynamically without requiring a full application update through standard channels.
  8. Overview of the material_ui package

    main
    The material_ui package is the official standalone Material Design widget library for Flutter. It is being decoupled from the core Flutter framework (package:flutter/material.dart) to allow for faster iteration and a more modular ecosystem. It implements Google's latest Material Design specifications and will include standard visual components such as Buttons, Cards, and AppBars.