long1eu / flutter_i18n

This plugin create a binding between your translations from .arb files and your Flutter app.
Apache License 2.0
251 stars 55 forks source link

Can methods with parameters be made optional? #132

Open sxiaoming2007 opened 4 years ago

sxiaoming2007 commented 4 years ago

Different languages have different expression styles,like this: English: If the last price rises to or above $name1,an order to buy $name3 at a price of $name2 will be placed Chinese: 若价格高于${name1}时,则依据${name2}下单,购买${name3} The name1 name2 name3 in different order,generate method is English: (String name1, String name3, String name2) Chinese: (String name1, String name2, String name3) Inconvenient to pass values,Whether it can be modified to ({String name1,String name3,String name2}),so it Can be called like this,(name1:'hello',name2:'hello',name3:'hello')