• This project
    • Loading...
  • Sign in

flutter_package / flutter_screenutil

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • flutter_screenutil
  • lib
  • src
  • screenutil_mixin.dart
  • Major updates & fixes (#491) · 05c823c4 ...
    05c823c4 Browse Files
    * Clean codes & add features & fix bugs
    
    Features/Bugs:
    - Feature: You can select what classes needs to be rebuilt instead of rebuilding everything, if you have widget A, either addi SU mixin or add 'A' to list ScreenUtilInit.responsiveWidgets
    - Feature: Using ScreenUtilInit.builder is optional (use it only when using library in theme)
    - Bug: Second call to ScreenUtil.init ignores any existing values and uses the default values when not provided, use ScreenUtil.configure instead
    - Bug: ScreenUtil.ensureScreenSize raises an overflow error
    
    * Update version
    
    * Add List of flutter widgets
    
    * Update logic if allowing widget to being rebuilt
    
    * Little code solidity
    
    * Add scale factors: diagonal & diameter
    
    * Add option for how font size should be scaled
    
    * Update support to Dart >= 2.17.0
    
    * Add fontSizeResolver to init + helpers
    
    * Add ensureScreenSize to ScreenUtilInit constructor
    
    * Fix ensureScreenSize on web
    
    * Update Runner.rc
    
    * Add some methods to extensions
    
    * Update widget_test
    
    * Remove extra deps
    
    * Clean code
    
    * Add ensureScreenSizeAndInit + make init sync
    
    * Update README.md
    
    * Update CHANGELOG.md
    
    * Update version to 5.9.0
    
    * Rename version
    
    * Adding tests
    
    * Changing version in CHANGELOG.md
    
    ---------
    
    Co-authored-by: Mounir Bouaiche <mounir-b@dba.ma>
    Mounir Bouaiche authored 2023-06-26 17:19:52 +0800
screenutil_mixin.dart 62 Bytes
Raw Blame History Permalink
1 2 3
import 'package:flutter/widgets.dart';

mixin SU on Widget {}