Flutter测量工具插件super_measurement的使用
Flutter测量工具插件super_measurement的使用
Dart 包用于单位测量转换
可用的单位
可以使用枚举访问这些单位。
加速度角
AccelerationAngular.radianPerSecondSquare
AccelerationAngular.radianPerMinuteSquare
AccelerationAngular.revolutionPerSecondSquare
AccelerationAngular.revolutionPerMinuteSecond
AccelerationAngular.revolutionPerMinuteSquare
加速度线性
AccelerationLinear.kilometerPerSecondSquare
AccelerationLinear.hectometerPerSecondSquare
AccelerationLinear.dekameterPerSecondSquare
AccelerationLinear.meterPerSecondSquare
AccelerationLinear.decimeterPerSecondSquare
AccelerationLinear.centimeterPerSecondSquare
AccelerationLinear.millimeterPerSecondSquare
AccelerationLinear.micrometerPerSecondSquare
AccelerationLinear.nanometerPerSecondSquare
AccelerationLinear.picometerPerSecondSquare
AccelerationLinear.femtometerPerSecondSquare
AccelerationLinear.attometerPerSecondSquare
AccelerationLinear.g
AccelerationLinear.gal
AccelerationLinear.milePerSecondSquare
AccelerationLinear.yardPerSecondSquare
AccelerationLinear.footPerSecondSquare
AccelerationLinear.inchPerSecondSquare
角度
Angle.degree
Angle.radian
Angle.grad
Angle.minute
Angle.second
Angle.sign
Angle.mil
Angle.revolution
Angle.circle
Angle.turn
Angle.quadrant
Angle.rightAngle
Angle.sextant
Angle.octant
Angle.percentOfFullCircle
面积
Area.kilometerSquare
Area.hectometerSquare
Area.dekameterSquare
Area.meterSquare
Area.decimeterSquare
Area.centimeterSquare
Area.millimeterSquare
Area.micrometerSquare
Area.nanometerSquare
Area.hectare
Area.are
Area.barn
Area.mileSquare
Area.yardSquare
Area.footSquare
Area.inchSquare
Area.township
Area.section
Area.acre
Area.rood
Area.chainSquare
Area.rodSquare
Area.perchSquare
Area.poleSquare
Area.arpent
Area.cuerda
Area.plaza
Area.varasCastellanasCuad
Area.varasConuquerasCuad
Area.strema
Area.circularInch
Area.circularMil
Area.tahulla
热值
CalorificValue.megajoulePerMeterCubic
CalorificValue.kilojoulePerMeterCubic
CalorificValue.joulePerMeterCubic
CalorificValue.kilocaloriePerMeterCubic
CalorificValue.caloriePerCentimeterCubic
CalorificValue.thermPerFootCubic
CalorificValue.thermPerGallonUK
CalorificValue.bTUPerFootCubic
CalorificValue.cHUPerFootCubic
电容
Capacitance.exafarad
Capacitance.petafarad
Capacitance.terafarad
Capacitance.gigafarad
Capacitance.megafarad
Capacitance.kilofarad
Capacitance.hectofarad
Capacitance.dekafarad
Capacitance.farad
Capacitance.decifarad
Capacitance.centifarad
Capacitance.millifarad
Capacitance.microfarad
Capacitance.nanofarad
Capacitance.picofarad
Capacitance.femtofarad
Capacitance.attofarad
Capacitance.abfarad
Capacitance.statfarad
电荷
Charge.megacoulomb
Charge.kilocoulomb
Charge.coulomb
Charge.coulombInternational
Charge.millicoulomb
Charge.microcoulomb
Charge.nanocoulomb
Charge.picocoulomb
Charge.abcoulomb
Charge.statcoulomb
Charge.franklin
Charge.ampereHour
Charge.ampereMinute
Charge.ampereSecond
Charge.faraday
Charge.electronicCharge
化学亨利定律
ChemicalHenrysLaw.newtonMeterPerKilogram
ChemicalHenrysLaw.barPerKilogramPerMeterCubic
ChemicalHenrysLaw.atmospherePerKilogramPerMeterCubic
ChemicalHenrysLaw.atmospherePerKilogramPerFootCubic
ChemicalHenrysLaw.atmospherePerGramPerCentimeterCubic
ChemicalHenrysLaw.atmospherePerPoundPerFootCubic
液体溶液浓度
ConcentrationLiquidSolution.kilogramPerLiter
ConcentrationLiquidSolution.gramPerLiter
ConcentrationLiquidSolution.milligramPerLiter
ConcentrationLiquidSolution.partPerMillionPpm
ConcentrationLiquidSolution.grainPerGallonUK
ConcentrationLiquidSolution.grainPerGallonUS
ConcentrationLiquidSolution.poundPerFootCubic
ConcentrationLiquidSolution.poundPerGallonUK
ConcentrationLiquidSolution.poundPerGallonUS
ConcentrationLiquidSolution.poundPerMillionUKGallon
ConcentrationLiquidSolution.poundPerMillionUSGallon
摩尔浓度
ConcentrationMolar.molPerMeterCubic
ConcentrationMolar.molPerLiter
ConcentrationMolar.molPerCentimeterCubic
ConcentrationMolar.molPerMillimeterCubic
ConcentrationMolar.kilomolPerMeterCubic
ConcentrationMolar.kilomolPerLiter
ConcentrationMolar.kilomolPerCentimeterCubic
ConcentrationMolar.kilomolPerMillimeterCubic
ConcentrationMolar.millimolPerMeterCubic
ConcentrationMolar.millimolPerLiter
ConcentrationMolar.millimolPerCentimeterCubic
ConcentrationMolar.millimolPerMillimeterCubic
导电率
Conductance.mho
Conductance.gemmho
Conductance.micromho
Conductance.megasiemens
Conductance.kilosiemens
Conductance.siemens
Conductance.millisiemens
Conductance.microsiemens
Conductance.abmho
Conductance.statmho
电导率
Conductivity.mhoPerMeter
Conductivity.mhoPerCentimeter
Conductivity.abmhoPerMeter
Conductivity.abmhoPerCentimeter
Conductivity.statmhoPerMeter
Conductivity.statmhoPerCentimeter
Conductivity.siemensPerMeter
Conductivity.picosiemensPerMeter
电流
Current.kiloampere
Current.ampere
Current.milliampere
Current.biot
Current.abampere
Current.statampere
Current.eMUOfCurrent
Current.eSUOfCurrent
Current.cGSEMUnit
Current.cGSESUnit
数据存储
DataStorage.bit
DataStorage.nibble
DataStorage.byte
DataStorage.word
DataStorage.doubleWord
DataStorage.quadrupleWord
DataStorage.block
DataStorage.kilobit
DataStorage.kilobyte
DataStorage.kilobyte10PowerOf3Bytes
DataStorage.megabit
DataStorage.megabyte
DataStorage.megabyte10PowerOf6Bytes
DataStorage.gigabit
DataStorage.gigabyte
DataStorage.gigabyte10PowerOf9Bytes
DataStorage.terabit
DataStorage.terabyte
DataStorage.terabyte10PowerOf12Bytes
DataStorage.petabit
DataStorage.petabyte
DataStorage.petabyte10PowerOf15Bytes
DataStorage.exabit
DataStorage.exabyte
DataStorage.exabyte10PowerOf18Bytes
DataStorage.floppyDisk35DD
DataStorage.floppyDisk35HD
DataStorage.floppyDisk35ED
DataStorage.floppyDisk525DD
DataStorage.floppyDisk525HD
DataStorage.zip100
DataStorage.zip250
DataStorage.jaz1GB
DataStorage.jaz2GB
DataStorage.cD74Minute
DataStorage.cD80Minute
DataStorage.dVD1Layer1Side
DataStorage.dVD2Layers1Side
DataStorage.dVD1Layer2Sides
DataStorage.dVD2Layers2Sides
DataStorage.bluRay1Layer
DataStorage.bluRay2Layer
数据传输速率
DataTransfer.bitPerSecond
DataTransfer.bytePerSecond
DataTransfer.kilobitPerSecond
DataTransfer.kilobytePerSecond
DataTransfer.megabitPerSecond
DataTransfer.megabytePerSecond
DataTransfer.gigabitPerSecond
DataTransfer.gigabytePerSecond
DataTransfer.terabitPerSecond
DataTransfer.terabytePerSecond
DataTransfer.kibibitPerSecond
DataTransfer.kibibytePerSecond
DataTransfer.mebibitPerSecond
DataTransfer.mebibytePerSecond
DataTransfer.gibibitPerSecond
DataTransfer.gibibytePerSecond
DataTransfer.tebibitPerSecond
DataTransfer.tebibytePerSecond
DataTransfer.ethernet
DataTransfer.ethernetFast
DataTransfer.ethernetGigabit
DataTransfer.ethernet10Gigabit
DataTransfer.oC1
DataTransfer.oC3
DataTransfer.oC12
DataTransfer.oC24
DataTransfer.oC48
DataTransfer.oC192
DataTransfer.oC768
DataTransfer.iSDNSingleChannel
DataTransfer.iSDNDualChannel
DataTransfer.modem110
DataTransfer.modem300
DataTransfer.modem1200
DataTransfer.modem2400
DataTransfer.modem9600
DataTransfer.modem144k
DataTransfer.modem288k
DataTransfer.modem336k
DataTransfer.modem56k
DataTransfer.sCSIAsync
DataTransfer.sCSISync
DataTransfer.sCSIFast
DataTransfer.sCSIFastUltra
DataTransfer.sCSIFastWide
DataTransfer.sCSIFastUltraWide
DataTransfer.sCSIUltra2
DataTransfer.sCSIUltra3
DataTransfer.sCSILVDUltra80
DataTransfer.sCSILVDUltra160
DataTransfer.sCSILVDUltra320
DataTransfer.iDEPIOMode0
DataTransfer.iDEPIOMode1
DataTransfer.iDEPIOMode2
DataTransfer.iDEPIOMode3
DataTransfer.iDEPIOMode4
DataTransfer.iDEDMAMode0
DataTransfer.iDEDMAMode1
DataTransfer.iDEDMAMode2
DataTransfer.iDEUDMAMode0
DataTransfer.iDEUDMAMode1
DataTransfer.iDEUDMAMode2
DataTransfer.iDEUDMAMode3
DataTransfer.iDEUDMAMode4
DataTransfer.iDEUDMAMode5
DataTransfer.iDEUDMAMode6
DataTransfer.iDEUDMA33
DataTransfer.iDEUDMA66
DataTransfer.iDEUDMA100
DataTransfer.iDEUDMA133
DataTransfer.sATA10
DataTransfer.sATA20
DataTransfer.sATA30
DataTransfer.uSB
DataTransfer.uSB20
DataTransfer.uSB30
DataTransfer.fireWire400IEEE1394
DataTransfer.fireWire800IEEE1394b
DataTransfer.irDA
DataTransfer.irDA2
DataTransfer.aTM
DataTransfer.t0Payload
DataTransfer.t0B8ZSPayload
DataTransfer.t1Signal
DataTransfer.t1Payload
DataTransfer.t1ZPayload
DataTransfer.t1CSignal
DataTransfer.t1CPayload
DataTransfer.t2Signal
DataTransfer.t3Signal
DataTransfer.t3Payload
DataTransfer.t3ZPayload
DataTransfer.t4Signal
DataTransfer.ePTA1Signal
DataTransfer.ePTA1Payload
DataTransfer.ePTA2Signal
DataTransfer.ePTA2Payload
DataTransfer.ePTA3Signal
DataTransfer.ePTA3Payload
DataTransfer.h0
DataTransfer.h11
DataTransfer.h12
DataTransfer.virtualTributary1Signal
DataTransfer.virtualTributary1Payload
DataTransfer.virtualTributary2Signal
DataTransfer.virtualTributary2Payload
DataTransfer.virtualTributary6Signal
DataTransfer.virtualTributary6Payload
DataTransfer.sTS1Signal
DataTransfer.sTS1Payload
DataTransfer.sTS3Signal
DataTransfer.sTS3Payload
DataTransfer.sTS3cSignal
DataTransfer.sTS3cPayload
DataTransfer.sTS12Signal
DataTransfer.sTS24Signal
DataTransfer.sTS48Signal
DataTransfer.sTS192Signal
DataTransfer.sTM1Signal
DataTransfer.sTM4Signal
DataTransfer.sTM16Signal
DataTransfer.sTM64Signal
DataTransfer.characterPerSecond
DataTransfer.tokenRing
DataTransfer.fiberChannel
DataTransfer.iSA8Bit
DataTransfer.iSA16Bit
DataTransfer.vLB
DataTransfer.pCI
DataTransfer.pCI64Bit
DataTransfer.pCI64Bit66MHz
DataTransfer.pCIX
DataTransfer.aGP
DataTransfer.aGP2X
DataTransfer.aGP4X
DataTransfer.aGP8X
DataTransfer.pCIExpress10X1
DataTransfer.pCIExpress10X4
DataTransfer.pCIExpress10X8
DataTransfer.pCIExpress10X16
DataTransfer.pCIExpress20X1
DataTransfer.pCIExpress20X4
DataTransfer.pCIExpress20X8
DataTransfer.pCIExpress20X16
DataTransfer.pCIExpress30X1
DataTransfer.pCIExpress30X4
DataTransfer.pCIExpress30X8
DataTransfer.pCIExpress30X16
DataTransfer.cDROM1X
DataTransfer.cDROM2X
DataTransfer.cDROM3X
DataTransfer.cDROM4X
DataTransfer.cDROM6X
DataTransfer.cDROM8X
DataTransfer.cDROM12X
DataTransfer.cDROM16X
DataTransfer.cDROM24X
DataTransfer.cDROM32X
DataTransfer.cDROM40X
DataTransfer.cDROM48X
DataTransfer.cDROM52X
DataTransfer.dVDROM1X
DataTransfer.dVDROM2X
DataTransfer.dVDROM3X
DataTransfer.dVDROM4X
DataTransfer.dVDROM6X
DataTransfer.dVDROM8X
DataTransfer.dVDROM10X
DataTransfer.dVDROM12X
DataTransfer.bluRay1X
DataTransfer.bluRay2X
DataTransfer.bluRay4X
DataTransfer.bluRay6X
DataTransfer.bluRay8X
DataTransfer.bluRay10X
DataTransfer.bluRay12X
密度
Density.kilogramPerMeterCubic
Density.kilogramPerCentimeterCubic
Density.gramPerMeterCubic
Density.gramPerCentimeterCubic
Density.gramPerMillimeterCubic
Density.milligramPerMeterCubic
Density.milligramPerCentimeterCubic
Density.milligramPerMillimeterCubic
Density.exagramPerLiter
Density.petagramPerLiter
Density.teragramPerLiter
Density.gigagramPerLiter
Density.megagramPerLiter
Density.kilogramPerLiter
Density.hectogramPerLiter
Density.dekagramPerLiter
Density.gramPerLiter
Density.decigramPerLiter
Density.centigramPerLiter
Density.milligramPerLiter
Density.microgramPerLiter
Density.nanogramPerLiter
Density.picogramPerLiter
Density.femtogramPerLiter
Density.attogramPerLiter
Density.poundPerInchCubic
Density.poundPerFootCubic
Density.poundPerGallon
Density.ouncePerInchCubic
Density.ouncePerFootCubic
Density.ouncePerGallon
Density.tonPerYardCubic
Density.psiPer1000Feet
数码图像分辨率
DigitalImageResolution.dotPerInch
DigitalImageResolution.dotPerMeter
DigitalImageResolution.dotPerMillimeter
DigitalImageResolution.pixelPerInch
电场强度
ElectricField.kilovoltPerCentimeter
ElectricField.voltPerMeter
ElectricField.voltPerCentimeter
ElectricField.voltPerInch
ElectricField.millivoltPerMeter
ElectricField.microvoltPerMeter
ElectricField.abvoltPerCentimeter
ElectricField.statvoltPerCentimeter
ElectricField.statvoltPerInch
能量
Energy.gigajoule
Energy.megajoule
Energy.kilojoule
Energy.joule
Energy.millijoule
Energy.microjoule
Energy.nanojoule
Energy.attojoule
Energy.erg
Energy.gigawattHour
Energy.megawattHour
Energy.kilowattHour
Energy.kilowattSecond
Energy.wattHour
Energy.wattSecond
Energy.horsepowerHour
Energy.kilocalorieInternational
Energy.kilocalorieThermochemical
Energy.calorieInternational
Energy.calorieThermochemical
Energy.calorieNutritional
Energy.bTUInternational
Energy.bTUThermochemical
Energy.mBTU
Energy.tonHourRefrigeration
Energy.gigaton
Energy.megaton
Energy.kiloton
Energy.tonExplosives
Energy.newtonMeter
Energy.dyneCentimeter
Energy.gramForceMeter
Energy.gramForceCentimeter
Energy.kilogramForceMeter
Energy.kilogramForceCentimeter
Energy.meterKilopond
Energy.poundForceFoot
Energy.poundForceInch
Energy.ounceForceInch
Energy.footPound
Energy.inchPound
Energy.inchOunce
Energy.poundalFoot
Energy.megaelectronVolt
Energy.kiloelectronVolt
Energy.electronVolt
Energy.therm
Energy.thermEC
Energy.thermUS
Energy.hartree
熵
Entropy.kilojoulePerKilogramK
Entropy.kilojoulePerKilogramDegreeC
Entropy.joulePerKilogramK
Entropy.joulePerKilogramDegreeC
Entropy.kilocaloriePerKilogramDegreeC
Entropy.caloriePerGramDegreeC
Entropy.bTUPerPoundDegreeF
Entropy.bTUPerPoundDegreeR
Entropy.cHUPerPoundDegreeC
欧洲货币
EUCurrency.euroEUR
EUCurrency.irishPoundIEP
EUCurrency.deutschMarkDEM
EUCurrency.dutchGuildenNLG
EUCurrency.finnishMarkFIM
EUCurrency.frenchFrancFRF
EUCurrency.austrianSchillingATS
EUCurrency.belgianFrancBEF
EUCurrency.luxembourgFrancLUF
EUCurrency.spanishPesetaESP
EUCurrency.portugueseEscudoPTE
EUCurrency.italianLireITL
EUCurrency.greekDrachmaGRD
流量
Flow.gallonPerDay
Flow.gallonPerHour
Flow.gallonPerMinute
Flow.gallonPerSecond
Flow.gallonUKPerDay
Flow.gallonUKPerHour
Flow.gallonUKPerMinute
Flow.gallonUKPerSecond
Flow.barrelOilPerDay
Flow.barrelOilPerHour
Flow.barrelOilPerMinute
Flow.barrelOilPerSecond
Flow.acreFootPerYear
Flow.acreFootPerDay
Flow.acreFootPerHour
Flow.hundredFootCubicPerDay
Flow.hundredFootCubicPerHour
Flow.hundredFootCubicPerMinute
Flow.ouncePerHour
Flow.ouncePerMinute
Flow.ouncePerSecond
Flow.ounceUKPerHour
Flow.ounceUKPerMinute
Flow.ounceUKPerSecond
Flow.literPerDay
Flow.literPerHour
Flow.literPerMinute
Flow.literPerSecond
Flow.milliliterPerDay
Flow.milliliterPerHour
Flow.milliliterPerMinute
Flow.milliliterPerSecond
Flow.meterCubicPerDay
Flow.meterCubicPerHour
Flow.meterCubicPerMinute
Flow.meterCubicPerSecond
Flow.centimeterCubicPerDay
Flow.centimeterCubicPerHour
Flow.centimeterCubicPerMinute
Flow.centimeterCubicPerSecond
Flow.yardCubicPerHour
Flow.yardCubicPerMinute
Flow.yardCubicPerSecond
Flow.footCubicPerHour
Flow.footCubicPerMinute
Flow.footCubicPerSecond
Flow.inchCubicPerHour
Flow.inchCubicPerMinute
Flow.inchCubicPerSecond
Flow.poundPerSecondGasolineAt155DegreeC
Flow.poundPerMinuteGasolineAt155DegreeC
Flow.poundPerHourGasolineAt155DegreeC
Flow.poundPerDayGasolineAt155DegreeC
Flow.kilogramPerSecondGasolineAt155DegreeC
Flow.kilogramPerMinuteGasolineAt155DegreeC
Flow.kilogramPerHourGasolineAt155DegreeC
Flow.kilogramPerDayGasolineAt155DegreeC
质量流量
FlowMass.gramPerSecond
FlowMass.gramPerMinute
FlowMass.gramPerHour
FlowMass.gramPerDay
FlowMass.milligramPerMinute
FlowMass.milligramPerHour
FlowMass.milligramPerDay
FlowMass.kilogramPerMinute
FlowMass.kilogramPerHour
FlowMass.kilogramPerDay
FlowMass.exagramPerSecond
FlowMass.petagramPerSecond
FlowMass.teragramPerSecond
FlowMass.gigagramPerSecond
FlowMass.megagramPerSecond
FlowMass.kilogramPerSecond
FlowMass.hectogramPerSecond
FlowMass.dekagramPerSecond
FlowMass.decigramPerSecond
FlowMass.centigramPerSecond
FlowMass.milligramPerSecond
FlowMass.microgramPerSecond
FlowMass.poundPerSecond
FlowMass.poundPerMinute
FlowMass.poundPerHour
FlowMass.poundPerDay
物质流摩尔数
FlowMolar.examolPerSecond
FlowMolar.petamolPerSecond
FlowMolar.teramolPerSecond
FlowMolar.gigamolPerSecond
FlowMolar.megamolPerSecond
FlowMolar.kilomolPerSecond
FlowMolar.hectomolPerSecond
FlowMolar.dekamolPerSecond
FlowMolar.molPerSecond
FlowMolar.decimolPerSecond
FlowMolar.centimolPerSecond
FlowMolar.millimolPerSecond
FlowMolar.micromolPerSecond
FlowMolar.nanomolPerSecond
FlowMolar.picomolPerSecond
FlowMolar.femtomolPerSecond
FlowMolar.attomolPerSecond
FlowMolar.molPerMinute
FlowMolar.molPerHour
FlowMolar.molPerDay
FlowMolar.millimolPerMinute
FlowMolar.millimolPerHour
FlowMolar.millimolPerDay
FlowMolar.kilomolPerMinute
FlowMolar.kilomolPerHour
FlowMolar.kilomolPerDay
力
Force.exanewton
Force.petanewton
Force.teranewton
Force.giganewton
Force.meganewton
Force.kilonewton
Force.hectonewton
Force.dekanewton
Force.newton
Force.decinewton
Force.centinewton
Force.millinewton
Force.micronewton
Force.nanonewton
Force.piconewton
Force.femtonewton
Force.attonewton
Force.dyne
Force.joulePerMeter
Force.joulePerCentimeter
Force.kilogramForce
Force.gramForce
Force.kipForce
Force.poundForce
Force.ounceForce
Force.poundal
频率与波长
FrequencyWavelength.exahertz
FrequencyWavelength.petahertz
FrequencyWavelength.terahertz
FrequencyWavelength.gigahertz
FrequencyWavelength.megahertz
FrequencyWavelength.kilohertz
FrequencyWavelength.hectohertz
FrequencyWavelength.dekahertz
FrequencyWavelength.hertz
FrequencyWavelength.decihertz
FrequencyWavelength.centihertz
FrequencyWavelength.millihertz
FrequencyWavelength.microhertz
FrequencyWavelength.nanohertz
FrequencyWavelength.picohertz
FrequencyWavelength.femtohertz
FrequencyWavelength.attohertz
FrequencyWavelength.cyclePerSecond
FrequencyWavelength.wavelengthInExametres
FrequencyWavelength.wavelengthInPetametres
FrequencyWavelength.wavelengthInTerametres
FrequencyWavelength.wavelengthInGigametres
FrequencyWavelength.wavelengthInMegametres
FrequencyWavelength.wavelengthInKilometres
FrequencyWavelength.wavelengthInHectometres
FrequencyWavelength.wavelengthInDecametres
FrequencyWavelength.wavelengthInMetres
FrequencyWavelength.wavelengthInDecimetres
FrequencyWavelength.wavelengthInCentimetres
FrequencyWavelength.wavelengthInMillimetres
FrequencyWavelength.wavelengthInMicrometres
燃料效率
FuelEfficiency.exameterPerLiter
FuelEfficiency.petameterPerLiter
FuelEfficiency.terameterPerLiter
FuelEfficiency.gigameterPerLiter
FuelEfficiency.megameterPerLiter
FuelEfficiency.kilometerPerLiter
FuelEfficiency.hectometerPerLiter
FuelEfficiency.dekameterPerLiter
FuelEfficiency.meterPerLiter
FuelEfficiency.centimeterPerLiter
FuelEfficiency.mileUSPerLiter
FuelEfficiency.literPerMeter
FuelEfficiency.literPer100Km
FuelEfficiency.gallonsUSPerMile
FuelEfficiency.gallonsUSPer100mi
FuelEfficiency.gallonsUKPerMile
FuelEfficiency.gallonsUKPer100mi
FuelEfficiency.nauticalMilePerLiter
FuelEfficiency.nauticalMilePerGallonUS
FuelEfficiency.kilometerPerGallonUS
FuelEfficiency.meterPerGallonUS
FuelEfficiency.meterPerGallonUK
FuelEfficiency.milePerGallonUS
FuelEfficiency.milePerGallonUK
FuelEfficiency.meterPerMeterSquare
FuelEfficiency.meterPerCentimeterSquare
FuelEfficiency.meterPerYardSquare
FuelEfficiency.meterPerFeetSquare
FuelEfficiency.meterPerInchSquare
FuelEfficiency.meterPerGallon
FuelEfficiency.meterPerQuart
FuelEfficiency.meterPerQuartUK
FuelEfficiency.meterPerPint
FuelEfficiency.meterPerPintUK
FuelEfficiency.meterPerCup
FuelEfficiency.meterPerCupUK
FuelEfficiency.meterPerFluidOunce
FuelEfficiency.meterPerFluidOunceUK
热容量
HeatCapacity.kilojoulePerK
HeatCapacity.kilojoulePerDegreeC
HeatCapacity.joulePerK
HeatCapacity.joulePerDegreeC
HeatCapacity.kilocaloriePerDegreeC
HeatCapacity.caloriePerDegreeC
HeatCapacity.bTUPerDegreeC
HeatCapacity.bTUPerDegreeF
HeatCapacity.bTUPerDegreeR
HeatCapacity.cHUPerDegreeC
热流密度
HeatFluxDensity.kilowattPerMeterSquare
HeatFluxDensity.wattPerMeterSquare
HeatFluxDensity.wattPerCentimeterSquare
HeatFluxDensity.wattPerInchSquare
HeatFluxDensity.joulePerSecondMeterSquare
HeatFluxDensity.kilocaloriePerHourMeterSquare
HeatFluxDensity.kilocaloriePerHourFootSquare
HeatFluxDensity.caloriePerSecondCentimeterSquare
HeatFluxDensity.gramCaloriePerHourCentimeterSquare
HeatFluxDensity.dynePerHourCentimeter
HeatFluxDensity.ergPerHourMillimeterSquare
HeatFluxDensity.footPoundPerMinuteFootSquare
HeatFluxDensity.horsepowerMetricPerFootSquare
HeatFluxDensity.horsepowerUKPerFootSquare
HeatFluxDensity.bTUPerHourFootSquare
HeatFluxDensity.bTUPerMinuteFootSquare
HeatFluxDensity.cHUPerHourFootSquare
热传导系数
HeatTransferCoefficient.wattPerMeterSquareK
HeatTransferCoefficient.wattPerMeterSquareDegreeC
HeatTransferCoefficient.joulePerSecondMeterSquareK
HeatTransferCoefficient.kilocaloriePerHourMeterSquareDegreeC
HeatTransferCoefficient.kilocaloriePerHourFootSquareDegreeC
HeatTransferCoefficient.caloriePerSecondCentimeterSquareDegreeC
HeatTransferCoefficient.bTUPerHourFootSquareDegreeF
HeatTransferCoefficient.cHUPerHourFootSquareDegreeC
空调效率
HVACEfficiency.eEREnergyEfficiencyRatio
HVACEfficiency.cOPCoefficientOfPerformace
HVACEfficiency.kilowattPerTon
照明
Illumination.meterCandle
Illumination.centimeterCandle
Illumination.footCandle
Illumination.flame
Illumination.phot
Illumination.nox
Illumination.lux
Illumination.lumenPerMeterSquare
Illumination.lumenPerCentimeterSquare
Illumination.lumenPerFootSquare
Illumination.wattPerCentimeterSquareAt555nm
照明与发光强度
IlluminationLuminousIntensity.candleInternational
IlluminationLuminousIntensity.candleGerman
IlluminationLuminousIntensity.candlePentane
IlluminationLuminousIntensity.candleUK
IlluminationLuminousIntensity.decimalCandle
IlluminationLuminousIntensity.hefnerCandle
IlluminationLuminousIntensity.carcelUnit
IlluminationLuminousIntensity.bougieDecimal
IlluminationLuminousIntensity.lumenInternationalPerSteradian
IlluminationLuminousIntensity.pentaneCandle10CandlePower
电感
Inductance.exahenry
Inductance.petahenry
Inductance.terahenry
Inductance.gigahenry
Inductance.megahenry
Inductance.kilohenry
Inductance.hectohenry
Inductance.dekahenry
Inductance.henry
Inductance.decihenry
Inductance.centihenry
Inductance.millihenry
Inductance.microhenry
Inductance.nanohenry
Inductance.picohenry
Inductance.femtohenry
Inductance.attohenry
Inductance.abhenry
Inductance.stathenry
Inductance.eMUOfInductance
Inductance.eSUOfInductance
潜热
LatentHeat.caloriePerGram
LatentHeat.kilojoulePerKilogram
LatentHeat.bTUPerPound
长度
Length.exameter
Length.petameter
Length.terameter
Length.gigameter
Length.megameter
Length.kilometer
Length.hectometer
Length.dekameter
Length.meter
Length.decimeter
Length.centimeter
Length.millimeter
Length.micrometer
Length.nanometer
Length.picometer
Length.femtometer
Length.attometer
Length.angstrom
Length.fermi
Length.planck
Length.mileUS
Length.mileUSSurveyFoot
Length.mileRoman
Length.furlong
Length.chain
Length.rod
Length.perch
Length.pole
Length.fathom
Length.yard
Length.foot
Length.footUSSurvey
Length.link
Length.inch
Length.hand
Length.mil
Length.milSweden
Length.microinch
Length.megaparsec
Length.kiloparsec
Length.parsec
Length.lightYear
Length.astronomicalUnit
Length.league
Length.nauticalMile
Length.arpent
Length.pica
Length.point
Length.twip
Length.aln
Length.famn
Length.caliber
Length.ken
Length.barleycorn
Length.russianArchin
Length.romanActus
Length.clothNail
Length.clothSpan
Length.varaDeTarea
Length.varaConuquera
Length.varaCastellana
Length.cubitGreek
Length.longReedBiblical
Length.reedBiblical
Length.cubitBiblical
Length.longCubitBiblical
Length.spanBiblical
Length.handbreadthBiblical
Length.fingerbreadthBiblical
线性电荷密度
LinearChargeDensity.coulombPerMeter
LinearChargeDensity.coulombPerCentimeter
LinearChargeDensity.coulombPerInch
LinearChargeDensity.abcoulombPerMeter
LinearChargeDensity.abcoulombPerCentimeter
LinearChargeDensity.abcoulombPerInch
线性电流密度
LinearCurrentDensity.amperePerMeter
LinearCurrentDensity.amperePerCentimeter
LinearCurrentDensity.amperePerInch
LinearCurrentDensity.abamperePerMeter
LinearCurrentDensity.abamperePerCentimeter
LinearCurrentDensity.abamperePerInch
LinearCurrentDensity.oersted
LinearCurrentDensity.oerstedInternational
LinearCurrentDensity.gilbertPerCentimeter
发光度
Luminance.stilb
Luminance.candelaPerMeterSquare
Luminance.candelaPerCentimeterSquare
Luminance.candelaPerFootSquare
Luminance.lumenPerMeterSquarePerSteradian
Luminance.lumenPerCentimeterSquarePerSteradian
Luminance.lumenPerFootSquarePerSteradian
Luminance.wattPerCentimeterSquarePerSteradianAt555nm
Luminance.nit
Luminance.millinit
Luminance.footLambert
Luminance.lambert
Luminance.millilambert
Luminance.apostilb
Luminance.blondel
Luminance.bril
Luminance.skot
磁通量
MagneticFlux.weber
MagneticFlux.voltSecond
MagneticFlux.megaline
MagneticFlux.kiloline
MagneticFlux.line
MagneticFlux.maxwell
MagneticFlux.maxwellInternational
MagneticFlux.teslaMeterSquare
MagneticFlux.teslaCentimeterSquare
MagneticFlux.gaussCentimeterSquare
磁通密度
MagneticFluxDensity.tesla
MagneticFluxDensity.gauss
MagneticFluxDensity.gaussInternational
MagneticFluxDensity.linePerCentimeterSquare
MagneticFluxDensity.linePerInchSquare
MagneticFluxDensity.maxwellPerMeterSquare
MagneticFluxDensity.maxwellPerCentimeterSquare
MagneticFluxDensity.maxwellPerInchSquare
MagneticFluxDensity.weberPerMeterSquare
MagneticFluxDensity.weberPerCentimeterSquare
MagneticFluxDensity.weberPerInchSquare
磁动势
MagnetomotiveForce.kiloampereTurn
MagnetomotiveForce.ampereTurn
MagnetomotiveForce.milliampereTurn
MagnetomotiveForce.abampereTurn
MagnetomotiveForce.gilbert
质量
更多关于Flutter测量工具插件super_measurement的使用的实战系列教程也可以访问 https://www.itying.com/category-92-b0.html
更多关于Flutter测量工具插件super_measurement的使用的实战系列教程也可以访问 https://www.itying.com/category-92-b0.html
当然,以下是一个关于如何使用Flutter测量工具插件super_measurement
的代码示例。这个插件可以帮助你在Flutter应用中测量屏幕上的元素尺寸和位置。
首先,你需要在pubspec.yaml
文件中添加super_measurement
依赖:
dependencies:
flutter:
sdk: flutter
super_measurement: ^最新版本号 # 请替换为实际的最新版本号
然后运行flutter pub get
来安装依赖。
接下来,你可以在Flutter应用中使用SuperMeasurement
插件来获取屏幕元素的尺寸和位置。以下是一个简单的示例代码:
import 'package:flutter/material.dart';
import 'package:super_measurement/super_measurement.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Super Measurement Example'),
),
body: MeasurementExample(),
),
);
}
}
class MeasurementExample extends StatefulWidget {
@override
_MeasurementExampleState createState() => _MeasurementExampleState();
}
class _MeasurementExampleState extends State<MeasurementExample> {
final SuperMeasurement _superMeasurement = SuperMeasurement();
@override
Widget build(BuildContext context) {
return Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Container(
color: Colors.blue,
width: 200,
height: 200,
child: Text(
'Measure Me',
style: TextStyle(color: Colors.white),
),
),
SizedBox(height: 20),
ElevatedButton(
onPressed: () async {
// 获取Container的尺寸和位置
final Rect? containerRect = await _superMeasurement.getGlobalRectOfWidget(context);
if (containerRect != null) {
final size = containerRect.size;
final position = containerRect.topLeft;
print('Container Size: $size');
print('Container Position: $position');
}
},
child: Text('Measure Container'),
),
],
),
);
}
}
在这个示例中,我们创建了一个简单的Flutter应用,其中包含一个蓝色的Container
和一个按钮。当用户点击按钮时,_superMeasurement.getGlobalRectOfWidget(context)
方法会被调用,以获取Container
的尺寸和位置信息。
请注意,getGlobalRectOfWidget
方法需要传递当前Container
的BuildContext
,但由于Container
和按钮位于不同的层级,直接传递Container
的BuildContext
是不可行的。在实际使用中,你可能需要通过一些方法(例如使用GlobalKey
)来获取目标Widget
的BuildContext
。
由于super_measurement
插件的具体API和实现细节可能随着版本更新而有所变化,建议查阅该插件的官方文档和示例代码,以确保正确使用最新的功能和API。