Giter Site home page Giter Site logo

nanthakumaran-s / resize Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 8.0 75 KB

A Simple Responsive Design Approach for your Flutter Apps. Includes all the necessary things to design a responsive User Interface for your Apps.

Home Page: https://pub.dev/packages/resize

License: MIT License

Dart 94.55% Kotlin 1.19% Swift 3.89% Objective-C 0.37%
dart flutter flutter-package hacktoberfest responsive responsive-design

resize's Introduction

Hi there, I'm Nanthakumaran S
Associate Engineer @Presidio | Software, Cloud & Data Engineer | 1x AWS

        

About Me

  • 🏢 Associate Engineer at Presidio Inc
  • 🔖 AWS Certified Solution Architect
  • 🧐 Interested in Data & Cloud Computing
  • 🛠️ Love to build tools (CLI and Automation tools)
  • 📖 Open Source Contributor
  • 📝 Checkout my Resume

My Statistics

☕️ Latest Articles

⚡️ Recent Activities

  1. ❗ Opened issue #33 in nanthakumaran-s/upptime
  2. 🔒 Closed issue #32 in nanthakumaran-s/upptime
  3. 🗣 Commented on #32 in nanthakumaran-s/upptime
  4. ❗ Opened issue #32 in nanthakumaran-s/upptime
  5. 🔒 Closed issue #31 in nanthakumaran-s/upptime

resize's People

Contributors

hatemragab avatar nanthakumaran-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

resize's Issues

Text Scaling Issue in Resize Library Causing App Size Increase

I am facing an issue with the Resize library in my Flutter app, specifically with text scaling. When I use the Resize widget, the text scaling is not working as expected, and it's causing the app size to increase when changing the text size from the device settings.

Steps to Reproduce:

Implement the Resize widget in the app's root widget tree, setting allowTextScaling to true.
Run the app on a device with different text scaling settings (e.g., Large Text enabled in device settings).
Observe that the app's text size is not respecting the device's text scaling settings, and the app size increases.
Expected Behavior:
The app's text size should respect the device's text scaling settings when using the Resize widget with allowTextScaling set to true. The app's layout should not change drastically due to text scaling changes from the device settings.

Actual Behavior:
The app's text size remains unaffected by the device's text scaling settings. As a result, the app size increases when changing the text size from the device settings. This causes layout issues and inconsistency in the app's appearance.

Compatibility with Flutter 3.0

: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
../…/src/resizeUtil.dart:87
- 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../flutter/packages/flutter/lib/src/widgets/binding.dart').
package:flutter/…/widgets/binding.dart:1
  double get textScaleFactor => WidgetsBinding.instance!.window.textScaleFactor;

cast to double

have i to cast all by 18.sp.toDouble() ?
The argument type 'num' can't be assigned to the parameter type 'double?'.

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.