Rename BannerLocation enum values (#11960)
* Rename BannerLocation enum values * topLeft -> topStart * topRight -> topEnd * bottomLeft -> bottomStart * bottomRight -> bottomEnd These names will make it easier for us to adjust the location of the banner in right-to-left mode. See the discussion on flutter-dev. * Add RTL support for Banner Fixes #11905
This commit is contained in:
@@ -197,7 +197,7 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
|
||||
opacity: new CurvedAnimation(parent: _controller, curve: Curves.easeInOut),
|
||||
child: const Banner(
|
||||
message: 'PREVIEW',
|
||||
location: BannerLocation.topRight,
|
||||
location: BannerLocation.topEnd,
|
||||
)
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user