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

427 Commits

Author SHA1 Message Date
sanni prasad
0a88d4519e Update cupertino_icons: from 0.1.2 to 0.1.3 (#325) 2020-02-12 10:28:00 -08:00
rami-a
36ea4f4e11 [Gallery] Bump version to 2.3 (#321) 2020-02-07 14:29:52 -05:00
Kevin Moore
7c33a11a7b web: remove spinning square demo
We've moved well beyond this
2020-02-07 11:02:41 -08:00
Kevin Moore
de40ba5c0a Remove entry for gallery sample: it was removed! 2020-02-07 11:02:41 -08:00
Kevin Moore
ea0ebacb10 update committed pubspec.lock files 2020-02-07 11:02:41 -08:00
Pierre-Louis
aed3d34551 Add screenshots, edit README (#319) 2020-02-07 11:32:46 +01:00
rami-a
96dc89870c [Gallery] Bring in Fortnightly banner (#317) 2020-02-06 10:22:16 -05:00
Pierre-Louis
7485904164 [Gallery] Implement Crane middle front layer (#318)
* Move gallery/gallery/ content to gallery/

* Update banner_demo.dart

* Update documentation

* Add hidden files

* Edit Travis script

* Update top level docs

* Update README.md path

* Move Crane middle tab up
2020-02-06 12:17:00 +01:00
Per Classon
d04440c11f [Gallery] Update desktop Rally for pages that did not have designs before (#314)
* Update desktop Rally for pages that did not have designs before
2020-02-06 12:02:30 +01:00
rami-a
c1acfe799d [Gallery] Bring in the latest translations (#316) 2020-02-05 17:04:59 -05:00
rami-a
dc66d5f998 [Gallery] Implement Desktop study carousel (#315) 2020-02-05 16:02:39 -05:00
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