1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Commit Graph

316 Commits

Author SHA1 Message Date
Pierre-Louis
cee267cf88 [Gallery] Fix directory structure (#312) 2020-02-05 14:11:54 -05:00
rami-a
082592e9a9 [Gallery] Tweak banner colors (#311) 2020-02-04 14:24:27 -05:00
rami-a
f8a122903b [Gallery] Implement Fortnightly study (#304) 2020-02-04 09:56:55 -05:00
Pierre-Louis
eceff0ae62 [Gallery] Disallow GoogleFonts http loading (#307)
* Update pubspec and pubspec.lock

Upgrade packages to latest allowable version
Specify ^ for packages missing it

* Disallow GoogleFonts http loading
2020-02-04 12:02:44 +01:00
Pierre-Louis
6a65b01f5d [Gallery] Use google_fonts (#299)
* Use google_fonts package

* Use hosted version of google_fonts
2020-02-03 18:00:14 +01:00
Andrew Brogdon
a90a244fcf Veggieseasons - Turning on bitcode, preparing for 1.2.0 publish (#305) 2020-02-03 08:12:43 -08:00
Filip Hracek
c121b2d2a6 Follow best practice of ProxyProvider updating (#298)
* Upgrade to pkg:provider 4.0

* Follow best practice of ProxyProvider updating

The addresses feedback from https://github.com/flutter/samples/issues/245. Instead of constructing a new `CartModel`, we merely update the `catalog` field.

We no longer need a fancy constructor, and `CartModel._catalog` cannot be final any more.
2020-01-31 13:25:14 -08:00
Pierre-Louis
2fae307721 Rename REFERENCE STYLES & MEDIA category to STYLES & OTHER (#303)
* Change name of reference styles & media category

* Update gallery_localizations.dart
2020-01-31 17:08:39 +01:00
Pierre-Louis
6f0f2fed52 [Gallery] Fix slow motion setting announcement (#301)
* Enable a11y carousel scrolling

* Fix slow motion announcement on android talkback

* Revert "Enable a11y carousel scrolling"

This reverts commit cc8f233b54.
2020-01-31 17:08:18 +01:00
Pierre-Louis
b485f10fca [Gallery] Text field demo fixes (#302)
* Misc text field demo fixes

* Update code_segments.dart
2020-01-31 16:56:38 +01:00
Pierre-Louis
7a6f443b88 [Gallery] Fix divider for bottom sheet demo on web (#300)
* Fix divider for bottom sheet demo on web

* Update code_segments.dart
2020-01-31 15:53:40 +01:00
rami-a
2f017a747a [Gallery] Modify desktop layout for crane when running in "Small desktop" size (#293) 2020-01-30 10:50:01 -05:00
Per Classon
ceaae3debb Add OrdinalSortKey to Shrine shopping cart (#295) 2020-01-30 15:59:18 +01:00
Per Classon
5d007aeb86 [Gallery] Localize durations for Crane (#294)
* Correctly formatted placeholders in intl_en_US.arb

* Add flight duration strings

* Replace duration formatter with localized string
2020-01-30 12:50:06 +01:00
Andrew Brogdon
36e5f9fed5 Added OS text to README. (#283) 2020-01-29 10:34:31 -08:00
Andrew Brogdon
046fa14eba Added no-response config (#284) 2020-01-29 10:34:07 -08:00
Pierre-Louis
7b0fdb2ddb [Gallery] Add transformations demo (#291)
* Copy over transformations demo with changes

Colors, size and buttons were changed

* Remove <Widget>[]

* Formatting

* Expose gallery theme colors

* Run grinder commands
2020-01-29 16:50:45 +01:00
Per Classon
fcac28d65d [Gallery] Exclude semantics for logo and change to hint for products on Shrine (#292)
* Exclude logo from semantics

* Use hint instead of onTapHint as it otherwise won't work with VoiceOver
2020-01-29 16:46:34 +01:00
Pierre-Louis
bf3979220e [Gallery] Add padding to demo appBar (#289)
* Add padding to demo appBar

* Update demo.dart

* Add padding to leading icon as well

* Update demo.dart
2020-01-28 17:24:33 +01:00
Pierre-Louis
9eebbce1fb Add options to tabs demo (#290) 2020-01-28 17:05:16 +01:00
Pierre-Louis
5fe2c22309 [Gallery] Preserve demo state, simplify demo width calculations on desktop (#287)
* Maintain state on mobile

* Refactor section width code

* Fix state resetting on desktop

* Remove unused import

* Remove unecessary GestureDetectorBehavior
2020-01-28 17:05:05 +01:00
rami-a
4e0b2e7b21 Prevent shrine login screen from allowing overscroll (#274) 2020-01-28 10:00:37 -05:00
Hemant Kumar
cd7e52ab88 [Gallery] Added platform dependent separator for cross platform compatibility (#285)
Added platform dependent separator for cross platform compatibility.
2020-01-28 15:39:52 +01:00
Per Classon
b891c7cc77 [Gallery] Close Shrine cart on back button press for android (#288)
* Close Shrine cart on back button press for android
2020-01-28 15:10:40 +01:00
Pierre-Louis
81a8e98c1a [Gallery] Use io.flutter as organization instead of placeholder (#286)
* Use io.flutter as org instead of placeholder

* Revert "Use io.flutter as org instead of placeholder"

This reverts commit 67f7999dd7.

* Use io.flutter.demo as organization
2020-01-28 12:15:00 +01:00
Per Classon
e7f39b1c37 [Gallery] Add Travis CI check that l10n command has been run for the gallery (#263)
* Add command to grind to verify that l10n command has ben run
2020-01-28 11:48:06 +01:00
rami-a
4d6d5660bc Update capitalization of cupertino demo titles to be consistent with Material (#268) 2020-01-27 15:55:50 -05:00
Per Classon
067ced7c5f Add new Flare assets now that After Effects lets us export Rive assets (#264) 2020-01-27 16:39:46 +01:00
Pierre-Louis
82aad81c34 Don't remove SettingsListItem content from tree (#259)
* Don't remove SettingsListItem content from tree

* Remove unused variable
2020-01-27 14:29:28 +01:00
rami-a
b04fbf7292 [Gallery] Implement Material Data table demo (#262) 2020-01-24 16:08:37 -05:00
Pierre-Louis
882f33c1a8 [Gallery] Add version number to About dialog (#260)
* Add version number to About dialog

* Update about.dart

* Address feedback
2020-01-24 19:10:43 +01:00
Pierre-Louis
9575601afb Don't overflow cards text (#261) 2020-01-24 19:01:12 +01:00
Pierre-Louis
9f0a977d80 [Gallery] Hide snackbar before showing one (#258)
* Hide snackbar before showing one

* Update code_segments.dart

* Update grind error message with command
2020-01-24 17:38:52 +01:00
rami-a
becb9db7da Remove hardcoded strings that were a workaround for raw string problem (#257) 2020-01-24 10:57:45 -05:00
Pierre-Louis
bfd4e7418d [Gallery] Use new package flutter_localized_locales (#256)
* Update to latest flutter_localized_countries

* Update pubspec.lock

* Use flutter_localized_locales package
2020-01-24 16:43:27 +01:00
Per Classon
264d697c61 [Gallery] Add animation for settings backdrop (#252)
* Lift up AnimationController to parnet widget AnimatedBackdrop so it can be shared with child widgets. Make the boolean 'isSettingsOpen' a ValueNotifier so we can listen to changes for it in SettingsPage.

* When closing settings, also shrink expanded setting.

* Animate the settings page to slide in from above.

* Add in stagger animation for setting items.

* Make sure that state is updated so the test passes

* Use setState for when closing expanded setting

* Move build method last, move animations initialization to initState and fix spelling mistake
2020-01-24 12:55:45 +01:00
Per Classon
be484af4d2 Enable copy to clipboard for web, as it's added to Flutter master channel (#253) 2020-01-24 12:50:01 +01:00
Pierre-Louis
7f783273c3 [Gallery] Crane focus (#254)
* Add debugLabel to HighlightFocus

* Remove decrated property

* Add focus to DestinationCards

* Add index property to Forms

* Move BackLayer stuff to its own file

* Add focus

* Revert deprecated change

* Address feedback
2020-01-24 12:13:58 +01:00
rami-a
a89c9a4747 [Gallery] Implement cupertino pickers demo (#251) 2020-01-23 18:32:00 +00:00
rami-a
2da59e988a [Gallery] Implement material picker demo (#249) 2020-01-23 17:36:19 +00:00
Jose Alba
3885418fff Updated translation on tooltip for code sample (#250)
* Focus is working properly for demo pages

* Updated translation

* Updated flutter/flutter

* Removed ios changes

* Empty commit
2020-01-22 16:12:18 -05:00
rami-a
56c1eb92d5 Remove extra semantic node from shrine app bar (#248) 2020-01-22 18:34:05 +00:00
Jose Alba
c2f639c519 Added Material Banner demo and Material Card demo (#238)
* Fix apk release issue

* Removed TODO

* Removed TODO

* Added chip demo

* Added card demo

* Added Material Card demo and Material Banner Demo

* Updated license for demos

* Merge with master

* Fixing issues

* Banner demo issues fixed

* Fixed all issues

* Updated code samples

* Added images to card demo

* Fixed issues

* Updated code segment

* Fixed issues

* Removed unused variable

* Formatted

* Updated code segments
2020-01-21 17:45:10 -05:00
Andrew Brogdon
9630222230 Adds iOS builds for add-to-app to Travis setup (#244) 2020-01-21 14:03:53 -08:00
rami-a
7e28d43aa0 Bump version to 2.2 (#247) 2020-01-21 20:57:21 +00:00
rami-a
606ae8af68 [Gallery] Latest translations (#246) 2020-01-21 20:28:46 +00:00
Brett Morgan
b7ec38af9c provider_counter: update android and ios, add macos and web (#235) 2020-01-17 06:09:59 +10:00
Brett Morgan
738861ffe3 provider_shopper: update android and ios, add macos and web (#236) 2020-01-17 06:09:33 +10:00
Brett Morgan
13125bc435 Scripting flutter pub upgrade (#242) 2020-01-16 10:06:33 +10:00
Yong Joseph Bakos
c595b0a498 index: Remove stale link (#243) 2020-01-15 10:02:06 -08:00