Coder Social home page Coder Social logo

nylo-core / framework Goto Github PK

View Code? Open in Web Editor NEW
52.0 52.0 12.0 598 KB

The Nylo Micro-framework for Flutter. This Package contains all the core libraries used in Nylo.

Home Page: https://nylo.dev

License: MIT License

Dart 100.00%
app dart development flutter framework micro-framework

framework's People

Contributors

agordn52 avatar rashid-khabeer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

framework's Issues

Make Storable Immutable

Hi,

Does it make sense to make Storable object immutable compatible ?

  • Create CONST constructor in class Storable
  • Make fromStorage return as it return a new filled object

Thanks,

NB : Thanks for your work :) I hope i can contribute to it !

Future<T?> network<T>

Greetings, why not return an error instead of null?

When I call an api method from a page, I would like to see the response in order to process it further.

Those answers that I don't want to process individually, the global displayError will do fine.

image

Translate with 2 arguments

Hello,

I have this translation: "backup.restore.label": "{{acNb}} aircraft(s) and {{flNb}} flight(s) restored"
when I call:
"backup.restore.label".tr(arguments: {"acNb": aircraftNb.toString(), "flNb": flightsNb.toString()},)

The acNb value is never set, but the flNb is.
I see for instance: "{{acNb}} aircraft(s) and 10 flight(s) restored"

No effect on Dark/Light selection

Hi,

I have a onePlus 7T, and the phone switch automatically to a Dark mode at night.

When that phone feature is activated and the phone has switch to Dark Mode (thus at night) I cannot change the Theme towards the light Theme .
NyTheme.set(context, id: "default_light_theme"); has just no effect at all

Whereas, during daytime, while the phone is on Light mode, I can switch between Light and Dark as I want!?

Something to do?
(Nylo is awesome)

[BUG] Custom themes don't work

Hello, thanks for the great framework!

According to the documentation you can create custom themes:

https://nylo.dev/docs/5.x/themes-and-styling#creating-a-theme

This all is good. You can also switch the theme to the custom one:

NyTheme.set(context, id: "custom_theme");

However the problem occurs when using the colours from the theme:

ThemeColor.get(context).primaryContent

Because it defaults to either the light or dark theme here https://github.com/nylo-core/support/blob/5.x/lib/helpers/helper.dart#L554 it won't use the theme you set with NyTheme.set which makes it pointless.

The way it should work is to use the correct theme set by NyTheme.set.

Need to upgrade theme_provider

Hi, iam newbie and Nylo Framework is use full as best practice for me.
i have some problem while compile. in short, it looks like it needs to upgrade theme_provider version.
Now i use 'dependency_overrides' to fix it.
thank you so much.

Metro not working on latest Flutter version 3.10

Hi. Running

metro make:page main_menu --controller

Produces an error

Deprecated. Use `dart run` instead.
Building package executable... (5.2s)
Built nylo_framework:main.
Unhandled exception:
Unsupported operation: Cannot remove from a fixed-length list
#0      FixedLengthListMixin.removeAt (dart:_internal/list.dart:61:5)
#1      commands (package:nylo_framework/metro/metro.dart:111:13)
Flutter (Channel stable, 3.10.0, on macOS 13.3.1 22E772610a darwin-x64, locale en-US)

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.