Add missing links to examples that aren't linked anywhere (#130422)
## Description This adds links to examples that were not linked anywhere. ## Related Issues - Fixes #129956 ## Tests - Documentation only change
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// Examples of LinearBorder and LinearBorderEdge.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// Examples for [LinearBorder] and [LinearBorderEdge].
|
||||
|
||||
void main() {
|
||||
runApp(const ExampleApp());
|
||||
}
|
||||
@@ -18,7 +18,8 @@ class ExampleApp extends StatelessWidget {
|
||||
return MaterialApp(
|
||||
theme: ThemeData.light(useMaterial3: true),
|
||||
home: const Directionality(
|
||||
textDirection: TextDirection.ltr, // Or try rtl.
|
||||
// TRY THIS: Switch to TextDirection.rtl to see how the borders change.
|
||||
textDirection: TextDirection.ltr,
|
||||
child: Home(),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user