File tree Expand file tree Collapse file tree 8 files changed +856
-889
lines changed Expand file tree Collapse file tree 8 files changed +856
-889
lines changed Original file line number Diff line number Diff line change 1+ ## [ 0.3.0] - 2019-07-07.
2+
3+ * General improvement of the code.
4+
15## [ 0.2.9] - 2019-06-20.
26
37* Updated dependencies.
711
812* fix history.
913
10- ## [ 0.2.8 ] - 2019-06-14.
14+ ## [ 0.2.7 ] - 2019-06-14.
1115
1216* Cleaning code.
1317* Update Readme.
Original file line number Diff line number Diff line change 11# flutter_inner_drawer
2- [ ![ pub package] ( https://img.shields.io/badge/pub-0.2.9 -orange.svg )] ( https://pub.dartlang.org/packages/flutter_inner_drawer )
2+ [ ![ pub package] ( https://img.shields.io/badge/pub-0.3.0 -orange.svg )] ( https://pub.dartlang.org/packages/flutter_inner_drawer )
33[ ![ Awesome Flutter] ( https://img.shields.io/badge/Awesome-Flutter-blue.svg?longCache=true&style=flat-square )] ( https://github.com/Solido/awesome-flutter#drawers )
44[ ![ Donate] ( https://img.shields.io/badge/Donate-PayPal-green.svg )] ( https://www.paypal.me/dnag88 )
55
@@ -10,7 +10,7 @@ Inner Drawer is an easy way to create an internal side section (left/right) wher
1010Add this to your package's pubspec.yaml file:
1111``` dart
1212dependencies:
13- flutter_inner_drawer: "^0.2.9 "
13+ flutter_inner_drawer: "^0.3.0 "
1414```
1515## Demo
1616<div align =" center " >
Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
22
3- class Env
4- {
5- static final facebook_icon = IconData (0xea94 , fontFamily: 'icon'
6- );
7- }
3+ class Env {
4+ static final facebook_icon = IconData (0xea94 , fontFamily: 'icon' );
5+ }
Original file line number Diff line number Diff line change @@ -12,13 +12,12 @@ class S implements WidgetsLocalizations {
1212 const S ();
1313
1414 static const GeneratedLocalizationsDelegate delegate =
15- GeneratedLocalizationsDelegate ();
15+ GeneratedLocalizationsDelegate ();
1616
1717 static S of (BuildContext context) => Localizations .of <S >(context, S );
1818
1919 @override
2020 TextDirection get textDirection => TextDirection .ltr;
21-
2221}
2322
2423class $en extends S {
@@ -74,22 +73,22 @@ class GeneratedLocalizationsDelegate extends LocalizationsDelegate<S> {
7473 case "en" :
7574 return SynchronousFuture <S >(const $en ());
7675 default :
77- // NO-OP.
76+ // NO-OP.
7877 }
7978 }
8079 return SynchronousFuture <S >(const S ());
8180 }
8281
8382 @override
8483 bool isSupported (Locale locale) =>
85- locale != null && supportedLocales.contains (locale);
84+ locale != null && supportedLocales.contains (locale);
8685
8786 @override
8887 bool shouldReload (GeneratedLocalizationsDelegate old) => false ;
8988}
9089
9190String getLang (Locale l) => l == null
92- ? null
93- : l.countryCode != null && l.countryCode.isEmpty
94- ? l.languageCode
95- : l.toString ();
91+ ? null
92+ : l.countryCode != null && l.countryCode.isEmpty
93+ ? l.languageCode
94+ : l.toString ();
You can’t perform that action at this time.
0 commit comments