Giter Site home page Giter Site logo

flutter-samples's Introduction

flutter-samples

Getting Started Beagle Native Sample

To run this code, just download the repository https://github.com/ZupIT/beagle-backend-kotlin or the tag https://github.com/ZupIT/beagle-backend-kotlin/releases/tag/1.10.0

Go to the beagle-backend-kotlin repository root folder and run the backend with the command: ./gradlew bootRun

Those are the modules, choose android or ios module to run

Here is the project scructure fullscreen with the structure as follows:

  1. android_fullscreen
  2. beagle_components
  3. flutter_module
  4. ios_fullscreen

For android

Open the Android module with Android studio and run it to view the result.

For iOS

Open the iOS module with Xcode, and run it to view the result.

The App running

Things to know

  • This example shows a fullscreen beagle screen using a flutter module.
  • The ios/android module is using the flutter module as dependency and it compiles every time you run your native platform app.
  • Flutter uses Method channels to emmit/receive data from other platforms, and its being shown on the examples.
  • Also to make beagle inform things to the native code, you can create a custom action to pass the data to the method channel and subscribe to it on your native code. Here is the flutter doc Flutter Method Channels

The dependency tree is:

[Your Native APP Android/IOS] -> flutter module -> beagle_components -> beagle

Can you use a flutter module as a precompiled library

This is a work in progress sample that can be found here prebuilt_module

flutter-samples's People

Contributors

hernandazevedozup avatar hernandazevedo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.